summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-06-26 10:39:36 +0200
committerFabrice Bellingard <bellingard@gmail.com>2012-06-26 10:39:36 +0200
commit401e7576f86447d13457de9884a9fe7a8761c5eb (patch)
treeba20cdbef79391b5008639c0213ffdca74f24891 /sonar-plugin-api
parent1dfe588e6679820380b82f6442eaffee6c180558 (diff)
downloadsonarqube-401e7576f86447d13457de9884a9fe7a8761c5eb.tar.gz
sonarqube-401e7576f86447d13457de9884a9fe7a8761c5eb.zip
SONAR-3496, SONAR-3497 & SONAR-3498 Fix bug on Sonar Common Rules
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/Java.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Java.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Java.java
index dbc09d3fa39..d9b2f99ebf8 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Java.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Java.java
@@ -35,6 +35,11 @@ public class Java extends AbstractLanguage {
* Java key
*/
public static final String KEY = "java";
+
+ /**
+ * Java name
+ */
+ public static final String NAME = "Java";
/**
* Default package name for classes without package def
*/
@@ -48,7 +53,7 @@ public class Java extends AbstractLanguage {
* Default constructor
*/
public Java() {
- super(KEY, "Java");
+ super(KEY, NAME);
}
/**