diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-02-27 13:37:22 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-02-27 13:38:19 +0100 |
commit | bf78055b3e3d021782a727a8072682d64f1e2a4a (patch) | |
tree | cc402792322b9cd75038a533c89b65a3b40742c0 /plugins/sonar-cpd-plugin/src | |
parent | 462f3c3a33e6f2f85b068ce4c164a14d2569ed5d (diff) | |
download | sonarqube-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.java | 3 |
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 |