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

Merge branch 'Eilerts_branch' into 'master'

updated index from = to +=

See merge request mesji/bacheloroppgave_2022!38
parents e510d318 dc1263bb
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.
Please register or to comment