fix coding standard and java docs