Skip to content

Commit cbd40d6

Browse files
authored
Merge pull request #4 from mbasilico/glpi-444_bug_x
Chau logs
2 parents ef741ff + 39616ef commit cbd40d6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: src/ar/com/mbasilico/wordCounter/WordCounterSeqApp.scala

-5
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,11 @@ object WordCounterSeqApp extends App {
1515
val fileName = args(0)
1616

1717
try {
18-
val t0 = System.currentTimeMillis()
1918
for (line <- Source.fromFile(fileName)("UTF-8").getLines()) {
2019
LineWordCounterWorker.countWordsFP(wordCounter, line)
2120
}
22-
val t1 = System.currentTimeMillis()
2321
printTopWords(wordCounter)
2422

25-
println("Elapsed time: " + (t1 - t0) + " ms")
26-
println("TERMINO !!")
27-
2823
} catch {
2924
case ex: Exception => ex.printStackTrace()
3025
}

0 commit comments

Comments
 (0)