Skip to content

Commit 2ce3c7e

Browse files
authored
Merge pull request #3 from mbasilico/GLPI-223_mas_logs
[GLPI-223]: Agregar mas logs
2 parents cbd40d6 + 3ac0434 commit 2ce3c7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ar/com/mbasilico/wordCounter/WordCounterSeqApp.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ object WordCounterSeqApp extends App {
88
val TOP_WORD_LIMIT = 70
99

1010
def printTopWords(wordCounter: HashMap[String, Int]): Unit = {
11+
println("printTopWords STARTED. wordCounter: " + wordCounter)
1112
wordCounter.toList.filter{_._2 > TOP_WORD_LIMIT}.sortWith{_._2 > _._2}.foreach(tuple => println(tuple._1 + ": " + tuple._2))
1213
}
1314

@@ -19,7 +20,8 @@ object WordCounterSeqApp extends App {
1920
LineWordCounterWorker.countWordsFP(wordCounter, line)
2021
}
2122
printTopWords(wordCounter)
22-
23+
24+
println("FINISHED")
2325
} catch {
2426
case ex: Exception => ex.printStackTrace()
2527
}

0 commit comments

Comments
 (0)