Skip to content
Snippets Groups Projects
Commit dc1263bb authored by Eilert Tunheim's avatar Eilert Tunheim
Browse files

updated index from = to +=

parent e510d318
No related branches found
No related tags found
No related merge requests found
......@@ -200,13 +200,13 @@ public class DB {
TREE_SPECIES = "Fura";
}
/*
System.out.printf("Tree species: \t%s\n", TREE_SPECIES);
System.out.printf("Width: \t\t\t%s\n", DIMENSIONS);
System.out.printf("Sawset: \t\t%s\n", SAWSET);
System.out.printf("Moisture: \t\t%s\n", MOISTURE_GOAL);
*/
String treeSpecies = "AND LOWER(" + nameParameter + ") LIKE LOWER(" + '"' + "%" + TREE_SPECIES + "%" + '"' + ") ";
String dimensions = "AND LOWER(" + nameParameter + ") LIKE LOWER(" + '"' + "%" + DIMENSIONS + "%" + '"' + ") ";
......@@ -255,7 +255,7 @@ public class DB {
} else break;
}
allDryingPeriods.putAll(results);
index = results.size();
index += results.size();
}
System.out.println(allDryingPeriods.size());
for (Map.Entry<Integer, Map<String, Number>> entry : allDryingPeriods.entrySet()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment