aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
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 {};