Jean-Francois Leveque

Correction logique après erreur d'étourdi

...@@ -70,7 +70,7 @@ public class PreprocessingRunner implements ApplicationRunner { ...@@ -70,7 +70,7 @@ public class PreprocessingRunner implements ApplicationRunner {
70 Random random = new Random(); 70 Random random = new Random();
71 Integer randomInteger; 71 Integer randomInteger;
72 72
73 - while (annotatedChosen.size() <= size * annotatePercent / 100.0) { 73 + while (annotatedChosen.size() < size * annotatePercent / 100.0) {
74 randomInteger = new Integer(random.nextInt(size)); 74 randomInteger = new Integer(random.nextInt(size));
75 if (!annotatedChosen.contains(randomInteger)) { 75 if (!annotatedChosen.contains(randomInteger)) {
76 annotatedChosen.add(randomInteger); 76 annotatedChosen.add(randomInteger);
......