javadoc cleanup, removed duplicated code

Is that a completely new class or modified class authored originally by `rwoo`?