From 1490d6c6f32bb606f197999362f47d13a6c6c6de Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 14 Jun 2012 14:20:53 +0200 Subject: Remove violations --- sonar-plugin-api/src/main/java/org/sonar/api/security/GroupRole.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sonar-plugin-api') 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 -- cgit v1.2.3