message: Use ternary to determine ResourceTrend
  This choice is a bit of a matter of taste. It can always be changed back
  if people prefer cascaded ifs.
diff: @@ -31,9 +31,9 @@ enum class ResourceTrend
  */
  static ResourceTrend compareResources(int src, int dst)
  {
  - if (src > dst) { return ResourceTrend::Up; }
  - if (src < dst) { return ResourceTrend::Down; }
  - return ResourceTrend::None;
  + return
  + (src > dst) ? ResourceTrend::Up :
  + (src < dst) ? ResourceTrend::Down : ResourceTrend::None;
  }
  