When enum constants' methods are overridden, Dr Java auto-indents improperly, for example:
public enum E {
A {
public int getValue() {
return 1;
}
},
B {
public int getValue() {
return 2;
}
},
C {
public int getValue() {
return 3;
}
};
public abstract int getValue();
}
This should simply be
public enum E {
A {
public int getValue() {
return 1;
}
},
B {
public int getValue() {
return 2;
}
},
C {
public int getValue() {
return 3;
}
};
public abstract int getValue();
}
Logged In: NO
I did not realize that SourceForge would erase the formatting when I submitted this bug. Just paste the code into Dr Java, select all the text, press Tab, and you will see what I mean.