Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 11th, 2013  |  syntax: None  |  size: 1.45 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /tmp/java-glances/src/org/jrenner/glances/Example.java:7: All methods are static.  Consider using Singleton instead.  Alternatively, you could add a private constructor or make the class abstract to silence this warning.
  2. /tmp/java-glances/src/org/jrenner/glances/Glances.java:13: Perhaps 'config' could be replaced by a local variable.
  3. /tmp/java-glances/src/org/jrenner/glances/Glances.java:16: Possible unsafe assignment to a non-final static field in a constructor.
  4. /tmp/java-glances/src/org/jrenner/glances/Glances.java:17: Possible unsafe assignment to a non-final static field in a constructor.
  5. /tmp/java-glances/src/org/jrenner/glances/Glances.java:18: Possible unsafe assignment to a non-final static field in a constructor.
  6. /tmp/java-glances/src/org/jrenner/glances/Glances.java:34: Avoid reassigning parameters such as 'glancesServerURL'
  7. /tmp/java-glances/src/org/jrenner/glances/Glances.java:107: Consider simply returning the value vs storing it in local variable 'interfaces'
  8. /tmp/java-glances/src/org/jrenner/glances/Glances.java:154: Consider simply returning the value vs storing it in local variable 'limits'
  9. /tmp/java-glances/src/org/jrenner/glances/Glances.java:162: Consider simply returning the value vs storing it in local variable 'processCount'
  10. /tmp/java-glances/src/org/jrenner/glances/Glances.java:177: Position literals first in String comparisons
  11. /tmp/java-glances/src/org/jrenner/glances/Glances.java:201: Avoid reassigning parameters such as 'val'
clone this paste RAW Paste Data