Squashed commit of the following:

commit 27e26763df8b81a84cb1594e00d35c8596f91659
Author: RashmiDR <rashmi@datatorrent.com>
Date:   Thu Nov 14 18:23:39 2013 -0800

    fixing coding convention and providing javadoc