PDA

View Full Version : Bugs with SummaryType.MAX and SummaryType.MIN



aruille
11 Apr 2011, 2:03 AM
Hi,

SummaryType.MAX and SummaryType.MIN are not valid with only negatives values.

Antoine

aruille
11 Apr 2011, 2:15 AM
sorry only for SummaryType.MAX

initialization of the variable max is incorrect with only negatives values

Double max = (Double) data.get(field + "max");
if (max == null) {
max = new Double(0);
}

Antoine