Changed comments to javadoc