Modified the javadoc warning on Java7. #154

Backport to 1.0.x (#154).
cherry-pick : 9931a82875fe665ebe7cf4637e0b619bcd1f7ca8