summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-06-14 14:20:53 +0200
committerDavid Gageot <david@gageot.net>2012-06-14 17:31:56 +0200
commit1490d6c6f32bb606f197999362f47d13a6c6c6de (patch)
tree3cd14c6be960f2dee182bfb04a611a5c65996adc /sonar-plugin-api
parent72afb8a3154d4525d9a956b755d2871a4a5c3d9f (diff)
downloadsonarqube-1490d6c6f32bb606f197999362f47d13a6c6c6de.tar.gz
sonarqube-1490d6c6f32bb606f197999362f47d13a6c6c6de.zip
Remove violations
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/security/GroupRole.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/security/GroupRole.java b/sonar-plugin-api/src/main/java/org/sonar/api/security/GroupRole.java
index 16f750b02db..56e2cf9ae18 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/security/GroupRole.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/security/GroupRole.java
@@ -19,7 +19,6 @@
*/
package org.sonar.api.security;
-import com.google.common.base.Objects;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.sonar.api.database.BaseIdentifiable;
@@ -82,7 +81,7 @@ public class GroupRole extends BaseIdentifiable {
}
public boolean isAnyone() {
- return Objects.equal(groupId, ANYONE_GROUP_ID);
+ return groupId == ANYONE_GROUP_ID;
}
@Override