diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-11-07 00:06:37 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-11-07 00:26:32 +0400 |
commit | ba029cb715b4e6fba210ca48d73289b749165946 (patch) | |
tree | 8aa2c605465910164892856e245a4b1c1025f21f /plugins/sonar-findbugs-plugin | |
parent | 3a61986c5815fda72fd97aff91d69e56e7364d1d (diff) | |
download | sonarqube-ba029cb715b4e6fba210ca48d73289b749165946.tar.gz sonarqube-ba029cb715b4e6fba210ca48d73289b749165946.zip |
Fix violations
Diffstat (limited to 'plugins/sonar-findbugs-plugin')
-rw-r--r-- | plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsCategory.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsCategory.java b/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsCategory.java index d6db5e209cc..d74f90c74cd 100644 --- a/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsCategory.java +++ b/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsCategory.java @@ -23,24 +23,24 @@ import java.util.HashMap; import java.util.Map; public final class FindbugsCategory { - private final static Map<String, String> findbugsToSonar = new HashMap<String, String>(); + private final static Map<String, String> FINDBUGS_TO_SONAR = new HashMap<String, String>(); static { - findbugsToSonar.put("BAD_PRACTICE", "Bad practice"); - findbugsToSonar.put("CORRECTNESS", "Correctness"); - findbugsToSonar.put("MT_CORRECTNESS", "Multithreaded correctness"); - findbugsToSonar.put("I18N", "Internationalization"); - findbugsToSonar.put("EXPERIMENTAL", "Experimental"); - findbugsToSonar.put("MALICIOUS_CODE", "Malicious code"); - findbugsToSonar.put("PERFORMANCE", "Performance"); - findbugsToSonar.put("SECURITY", "Security"); - findbugsToSonar.put("STYLE", "Style"); + FINDBUGS_TO_SONAR.put("BAD_PRACTICE", "Bad practice"); + FINDBUGS_TO_SONAR.put("CORRECTNESS", "Correctness"); + FINDBUGS_TO_SONAR.put("MT_CORRECTNESS", "Multithreaded correctness"); + FINDBUGS_TO_SONAR.put("I18N", "Internationalization"); + FINDBUGS_TO_SONAR.put("EXPERIMENTAL", "Experimental"); + FINDBUGS_TO_SONAR.put("MALICIOUS_CODE", "Malicious code"); + FINDBUGS_TO_SONAR.put("PERFORMANCE", "Performance"); + FINDBUGS_TO_SONAR.put("SECURITY", "Security"); + FINDBUGS_TO_SONAR.put("STYLE", "Style"); } public static String findbugsToSonar(String findbugsCategKey) { - return findbugsToSonar.get(findbugsCategKey); + return FINDBUGS_TO_SONAR.get(findbugsCategKey); } private FindbugsCategory() { } -}
\ No newline at end of file +} |