Windup 102: Refactor java legacy rules

It looks like these files got formatted on your machine :( If they did not change, could you please revert?