]> source.dussan.org Git - sonarqube.git/commitdiff
Remove violation
authorDavid Gageot <david@gageot.net>
Fri, 15 Jun 2012 09:21:54 +0000 (11:21 +0200)
committerDavid Gageot <david@gageot.net>
Fri, 15 Jun 2012 09:21:54 +0000 (11:21 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/security/GroupRole.java

index 56e2cf9ae18c040597b3f027790314046b2d9a54..70e17ecbe955e33faa18d9829370adc6a12b3a78 100644 (file)
@@ -81,7 +81,7 @@ public class GroupRole extends BaseIdentifiable {
   }
 
   public boolean isAnyone() {
-    return groupId == ANYONE_GROUP_ID;
+    return groupId == null;
   }
 
   @Override