enabling javadoc validation and fixed errors reported.
Fixed inconsistent API method for writing rows