repositories
/
Project_POO.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1aa04d
)
Small code cleanup.
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Fri, 6 Apr 2018 09:04:59 +0000
(11:04 +0200)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Fri, 6 Apr 2018 09:04:59 +0000
(11:04 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
exo5/Main.java
patch
|
blob
|
blame
|
history
diff --git
a/exo5/Main.java
b/exo5/Main.java
index 3e0f331bbaa4890a33b724ec1f265811dc3ad5fe..f8fac79d30962692271303ab403857440c90a36e 100644
(file)
--- 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;