javadoc changes and using parseLong instead of valueOf.