changed "new byte[0]" to constant
fixed javadoc