Updated the single line comments.
Updated the javadoc comment.