aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-11-30 09:36:15 +0000
committerGodin <mandrikov@gmail.com>2010-11-30 09:36:15 +0000
commit0471c891fff652b0c243a20fc68b8563f92c293d (patch)
treed85220de052cc839ec91246e0b94f153156e7bb3 /sonar-plugin-api
parent65c771783cc8a7d8512f3eb57650ebd426ffb975 (diff)
downloadsonarqube-0471c891fff652b0c243a20fc68b8563f92c293d.tar.gz
sonarqube-0471c891fff652b0c243a20fc68b8563f92c293d.zip
Fix violations reported on Nemo
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java8
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java
index 19e2baf21cb..3bccd751aeb 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java
@@ -33,10 +33,10 @@ import java.lang.annotation.Target;
@Target(ElementType.TYPE)
public @interface NavigationSection {
- static final String HOME = "home";
- static final String RESOURCE = "resource";
- static final String RESOURCE_TAB = "resource_tab";
- static final String CONFIGURATION = "configuration";
+ String HOME = "home";
+ String RESOURCE = "resource";
+ String RESOURCE_TAB = "resource_tab";
+ String CONFIGURATION = "configuration";
String[] value() default { HOME };
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java
index 8cf0959c9ae..491fa25d6dd 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java
@@ -35,11 +35,11 @@ public @interface UserRole {
* @deprecated use the constant USER since 1.12.
*/
@Deprecated
- static final String VIEWER = "user";
+ String VIEWER = "user";
- static final String USER = "user";
- static final String ADMIN = "admin";
- static final String CODEVIEWER = "codeviewer";
+ String USER = "user";
+ String ADMIN = "admin";
+ String CODEVIEWER = "codeviewer";
String[] value() default {};