Rarranger bugs

I encountered two Rearranger bugs.

1. Rearranger treats interface methods without public modifier (which in this case is redundant) as package methods. Also all constants defined in an interface should be considered as public static final.

2. Sometimes Rearranger corrupts reformatted file and then is unable to do the rearrangement. You can reproduce this with attached configuration and TestCorrupt.java.



Attachment(s):
TestInterface.java
rearranger.xml
TestCorrupt.java
1 comment

Fixed in version 4.6 - please give it a try!

0

Please sign in to leave a comment.