diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-07-10 14:30:56 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-07-10 16:30:02 +0200 |
commit | 8cda62bcc116f3de80f1defa679c7d847c597576 (patch) | |
tree | f5b26060aa95eafc88de6132ea6985f51ebace4f /sonar-batch | |
parent | 9681d7e609f5572774db7c859962784671e13502 (diff) | |
download | sonarqube-8cda62bcc116f3de80f1defa679c7d847c597576.tar.gz sonarqube-8cda62bcc116f3de80f1defa679c7d847c597576.zip |
fix quality flaw: method can be static
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java b/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java index 0f60fe4f876..fb6075057dd 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java +++ b/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java @@ -183,7 +183,7 @@ public class ReportPublisher implements Startable { } } - private void dumpReportImpl(String dumpDirLocation, String projectKey, String relativeUrl, File report) throws IOException, URISyntaxException { + private static void dumpReportImpl(String dumpDirLocation, String projectKey, String relativeUrl, File report) throws IOException, URISyntaxException { File dumpDir = new File(dumpDirLocation); if (!dumpDir.exists() || !dumpDir.isDirectory()) { LOG.warn("Report dump directory '{}' does not exist or is not a directory", dumpDirLocation); |