The gilded rose refactoring kata ported to java