Inserted javadoc
Updated javadoc to explain about the @SupressWarnings