learn05.java refactoring