From: Jérôme Benoit Date: Fri, 6 Apr 2018 09:04:59 +0000 (+0200) Subject: Small code cleanup. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ca1bad47bb9de619e866d4febdf41eec5554e14c;p=Project_POO.git Small code cleanup. Signed-off-by: Jérôme Benoit --- diff --git a/exo5/Main.java b/exo5/Main.java index 3e0f331..f8fac79 100644 --- a/exo5/Main.java +++ b/exo5/Main.java @@ -23,7 +23,6 @@ class Main { Scanner sc = new Scanner(f); while (sc.hasNext()) { String wordCursor = sc.next(); - Integer count = tm.get(wordCursor); if (count == null) { count = 0;