trying to fix foodcritic for java recipe