nathanmarz/storm-starter — pull request #12 by ottomata (2012-04-11 16:47:22+00:00)
Title: Fixed bug in TransactionalWords example.

I'm playing with storm for the first time and going through the examples. I noticed that the COUNT_DATABASE in the TransactionalWords was not being updated with the proper word counts as each transaction was committed. This is because COUNT_DATABASE.put(key, val) was being called, instead of putting newVal. val starts as null, which means that every put just put back a null value. Hope this helps others reading through this example.