Remove useless bit operation
Some javadoc reformating.