removed dead code from javadoc sample