aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-05 14:55:25 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-05 14:55:25 +0200
commit68620e2016ee7663bdab75478ec90220b38ef722 (patch)
treebf85bf4c8c47468e85ed62d6a04464c95eed42c9 /sonar-plugin-api
parent8bb1f7798efbb4266829d7722f5054195dd35faa (diff)
downloadsonarqube-68620e2016ee7663bdab75478ec90220b38ef722.tar.gz
sonarqube-68620e2016ee7663bdab75478ec90220b38ef722.zip
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java10
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java1
2 files changed, 0 insertions, 11 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java
index 2fa8adc4767..e393a2f185a 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java
@@ -63,16 +63,6 @@ public class File extends Resource {
return parent;
}
- private static String parseKey(String key) {
- if (StringUtils.isBlank(key)) {
- return null;
- }
- String normalizedKey = key;
- normalizedKey = normalizedKey.replace('\\', '/');
- normalizedKey = StringUtils.trim(normalizedKey);
- return normalizedKey;
- }
-
/**
* {@inheritDoc}
*
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
index 6c88617a87e..a4d68e49f84 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
@@ -56,7 +56,6 @@ public class Project extends Resource implements Component {
private String branch;
private String name;
private String description;
- private Language language;
private Date analysisDate;
private String analysisVersion;
private Settings settings;