On the hacking guide point 6.1, for the following item;
Don't use redundant modifiers or other redundant constructs. Here is some
sample code that shows various redundant items in comments:
/*import java.lang.Integer;*/
/*abstract*/ interface I {
/*public abstract*/ void m();
/*public static final*/ int i = 1;
/*public static*/ class Inner {}
}
final class C /*extends Object*/ {
/*final*/ void m() {}
}
The one who wrote this obviously has no idea that
public void bla()
is very different from
void bla()
and
class x{ int i=1; }
is very different from:
class x{ public static final int i=1; }
an inner class is also not static by default.