Java Doc and altered a method