bugfix: extraneous methods in java class