diff options
author | Zeeshan Asghar <zeeshan.asghar@devfactory.com> | 2016-01-21 15:56:32 +0500 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-29 17:01:31 +0100 |
commit | bf071cefa1d04303ae246de745a8856c64b9617f (patch) | |
tree | 8d31b74cadac3271f8519d3d76566f04b2139e45 /sonar-batch/src/main/java/org/sonar/batch/bootstrap | |
parent | 1fc88e490a8db848301e784d53d5170018b6d1e5 (diff) | |
download | sonarqube-bf071cefa1d04303ae246de745a8856c64b9617f.tar.gz sonarqube-bf071cefa1d04303ae246de745a8856c64b9617f.zip |
squid:S1213 members of an interface decleration or class should appear in a pre-defined order
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/bootstrap')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalTempFolderProvider.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalTempFolderProvider.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalTempFolderProvider.java index bdc3d43f39e..78de896f011 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalTempFolderProvider.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalTempFolderProvider.java @@ -44,7 +44,8 @@ public class GlobalTempFolderProvider extends ProviderAdapter implements Compone private static final Logger LOG = Loggers.get(GlobalTempFolderProvider.class); private static final long CLEAN_MAX_AGE = TimeUnit.DAYS.toMillis(21); static final String TMP_NAME_PREFIX = ".sonartmp_"; - + private boolean started = false; + private System2 system; private DefaultTempFolder tempFolder; @@ -151,8 +152,6 @@ public class GlobalTempFolderProvider extends ProviderAdapter implements Compone started = true; } - private boolean started = false; - @Override public void stop(PicoContainer container) { if (tempFolder != null) { |