Violation | Line |
---|---|
ICAST: Integer division result cast to double in net.sf.sensor.meter.MeterData.updateFromMeter(long) | 145 |
Violation | Line |
---|---|
ICAST: Integer division result cast to double in net.sf.sensor.timer.TimerData.updateFromTimer(long) | 291 |
Violation | Line |
---|---|
Dm: Method net.sf.sensor.filter.PropertyValueMatcher$ContainsValueMatcher.matches(String,String,boolean) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | 137 |
Violation | Line |
---|---|
Dm: Method net.sf.sensor.filter.PropertyValueMatcher$EndsWithValueMatcher.matches(String,String,boolean) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | 191 |
Violation | Line |
---|---|
Dm: Method net.sf.sensor.filter.PropertyValueMatcher$StartsWithValueMatcher.matches(String,String,boolean) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | 164 |
Violation | Line |
---|---|
MS: net.sf.sensor.filter.PropertyValueMatcher.EXACT_MATCH isn't final but should be | 0 |
MS: net.sf.sensor.filter.PropertyValueMatcher.CONTAINS isn't final but should be | 0 |
MS: net.sf.sensor.filter.PropertyValueMatcher.STARTS_WITH isn't final but should be | 0 |
MS: net.sf.sensor.filter.PropertyValueMatcher.ENDS_WITH isn't final but should be | 0 |
MS: net.sf.sensor.filter.PropertyValueMatcher.REGULAR_EXPRESSION isn't final but should be | 0 |