Update Reducer.java

Fixed Javadoc as well