aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/main
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-03-16 17:15:30 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2016-03-16 17:25:16 +0100
commit1b09113d16a93c516b03c896202c71205d46134a (patch)
tree7695ebbcbc01a5ed1ff9e4cd32bfe0523837242e /sonar-core/src/main
parent887cda2d00ba7b62ee311bc78a4ea611696e9761 (diff)
downloadsonarqube-1b09113d16a93c516b03c896202c71205d46134a.tar.gz
sonarqube-1b09113d16a93c516b03c896202c71205d46134a.zip
Fix some quality flaws
Diffstat (limited to 'sonar-core/src/main')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java b/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java
index 6e7d1161bb4..5162e6a8d40 100644
--- a/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java
+++ b/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java
@@ -244,7 +244,7 @@ public class ComponentContainer implements ContainerPopulator.Container {
return this;
}
- private String getName(Object extension) {
+ private static String getName(Object extension) {
if (extension instanceof Class) {
return ((Class<?>) extension).getName();
}