Fixed javadoc
Added modifier final and replaced private with protected