Trying to get into the recommended style from Sun.
This commit is contained in:
parent
91a4d48af7
commit
f1dc5b5778
|
|
@ -230,8 +230,8 @@ class Verifier
|
|||
checkModOrder(aSig.getModSet());
|
||||
|
||||
// JLS, chapter 9.4 - public in interface is strongly discouraged
|
||||
if (!mConfig.isIgnorePublicInInterface() &&
|
||||
inInterfaceBlock() && aSig.getModSet().containsPublic())
|
||||
if (!mConfig.isIgnorePublicInInterface() && inInterfaceBlock()
|
||||
&& aSig.getModSet().containsPublic())
|
||||
{
|
||||
log(aSig.getLineNo(), "redundant 'public' modifier.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue