From: Jérôme Benoit Date: Fri, 6 Apr 2018 12:33:18 +0000 (+0200) Subject: exo5: typo fix. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3ba1ba1aeb90dcb76eebb202bd73e32a2adce6d0;p=Project_POO.git exo5: typo fix. Signed-off-by: Jérôme Benoit --- diff --git a/exo5/Main.java b/exo5/Main.java index 37692ef..dfd22af 100644 --- a/exo5/Main.java +++ b/exo5/Main.java @@ -46,7 +46,7 @@ class Main { System.out.println("Word \"" + wordCursor + "\" occured " + sm.get(wordCursor) + " times"); } - System.out.println("Map content of exaclty duplicated word inferior to the word \"milieu\":"); + System.out.println("Map content of exactly duplicated word inferior to the word \"milieu\":"); Map m1 = tm.entrySet().stream() .filter(map -> map.getKey().compareTo("milieu") < 0 && map.getValue() == 2) .collect(Collectors.toMap(p -> p.getKey(), p -> p.getValue()));