aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-cpd-plugin/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-02-27 13:37:22 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-02-27 13:38:19 +0100
commitbf78055b3e3d021782a727a8072682d64f1e2a4a (patch)
treecc402792322b9cd75038a533c89b65a3b40742c0 /plugins/sonar-cpd-plugin/src
parent462f3c3a33e6f2f85b068ce4c164a14d2569ed5d (diff)
downloadsonarqube-bf78055b3e3d021782a727a8072682d64f1e2a4a.tar.gz
sonarqube-bf78055b3e3d021782a727a8072682d64f1e2a4a.zip
Deprecate remaining Java-specific stuff
Diffstat (limited to 'plugins/sonar-cpd-plugin/src')
-rw-r--r--plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java
index d463d8cf314..fb1443dbaa3 100644
--- a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java
+++ b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java
@@ -36,7 +36,6 @@ import org.sonar.api.config.Settings;
import org.sonar.api.measures.CoreMetrics;
import org.sonar.api.measures.Measure;
import org.sonar.api.measures.PersistenceMode;
-import org.sonar.api.resources.Java;
import org.sonar.api.resources.Project;
import org.sonar.api.utils.SonarException;
import org.sonar.duplications.block.Block;
@@ -87,7 +86,7 @@ public class SonarEngine extends CpdEngine {
@Override
public boolean isLanguageSupported(String language) {
- return Java.KEY.equals(language);
+ return "java".equals(language);
}
@Override