fixed State class javadoc