This method is superfluous. There is already a method that does exactly the same thing ("UserSpring#getUsername()"). Please remove the unit tests that confirms that this getter is present and works, too.