aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-07-05 11:45:04 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-07-05 11:45:13 +0200
commit84851fffaa03911500dd2643970f4f7ff9ee4097 (patch)
treeeb8821315959b171fc6c8394a0b86c3a8312b62d
parentc7ac7ab21c5f094e60ad6c3287a508d774aaaff6 (diff)
downloadsonarqube-84851fffaa03911500dd2643970f4f7ff9ee4097.tar.gz
sonarqube-84851fffaa03911500dd2643970f4f7ff9ee4097.zip
Fix quality flaw in ConvertViolationsToIssues
-rw-r--r--sonar-server/src/main/java/org/sonar/server/db/migrations/ConvertViolationsToIssues.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/db/migrations/ConvertViolationsToIssues.java b/sonar-server/src/main/java/org/sonar/server/db/migrations/ConvertViolationsToIssues.java
index 8e2f1f5cbe5..7fcec6733eb 100644
--- a/sonar-server/src/main/java/org/sonar/server/db/migrations/ConvertViolationsToIssues.java
+++ b/sonar-server/src/main/java/org/sonar/server/db/migrations/ConvertViolationsToIssues.java
@@ -285,7 +285,7 @@ public class ConvertViolationsToIssues implements DatabaseMigration {
private static class ViolationHandler extends AbstractListHandler<Map<String, Object>> {
- private static final String SQL;
+ static final String SQL;
static {
StringBuilder sb = new StringBuilder("select rev.id as reviewId, s.project_id as projectId, rf.rule_id as ruleId, " +
" rf.failure_level as failureLevel, rf.message as message, rf.line as line, " +