diff --git a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java index 57558c41d78e..72fb1668d37a 100644 --- a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java +++ b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java @@ -496,10 +496,9 @@ public class TypeDetection extends ComplexTestCase { * */ log.println("### checkStreamLoader() ###"); - String[] urls = new String[2]; - - urls[0] = helper.getClassURLString("TypeDetection.props"); - urls[1] = helper.getClassURLString("files.csv"); + String[] urls = new String[] { + helper.getClassURLString("TypeDetection.props"), + helper.getClassURLString("files.csv") }; for (int j=0; j 0) && (iselfunction.length > 0)) { - String[] curaggregatename = new String[2]; - curaggregatename[0] = CurDBMetaData.NumericFieldNames[iselfield[0]]; - curaggregatename[1] = this.sFunctionOperators[iselfunction[0]]; + String[] curaggregatename = new String[] { + CurDBMetaData.NumericFieldNames[iselfield[0]], + this.sFunctionOperators[iselfunction[0]] }; aggregatevector.add(curaggregatename); } }