public class MinAvgPairAggregator implements Aggregator
{
@Override
public double aggregate(double[] values, double nodata)
{
<BUG>boolean data0 = Double.compare(values[0], nodata) != 0;
boolean data1 = Double.compare(values[1], nodata) != 0;
boolean data2 = Double.compare(values[2], nodata) != 0;
boolean data3 = Double.compare(values[3], nodata) != 0;
Collection<Double> averages = new ArrayList<Double>();</BUG>
if (data0 && data1)

public class MinAvgPairAggregator implements Aggregator
{
@Override
public double aggregate(double[] values, double nodata)
{
boolean data0 = FloatUtils.isNotNodata(values[0], nodata);
boolean data1 = FloatUtils.isNotNodata(values[1], nodata);
boolean data2 = FloatUtils.isNotNodata(values[2], nodata);
boolean data3 = FloatUtils.isNotNodata(values[3], nodata);
Collection<Double> averages = new ArrayList<Double>();
