diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-11-21 09:14:29 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-11-21 09:15:02 +0100 |
commit | 9c50c0db93e7206dd74f0ff1fccec14549be48ef (patch) | |
tree | 8909d99cacaa2c0444c7f8ebb0d5d59fab63d874 /sonar-batch/src | |
parent | 80f3d65d00de35365b6cb7d26bed51122c2b45e6 (diff) | |
download | sonarqube-9c50c0db93e7206dd74f0ff1fccec14549be48ef.tar.gz sonarqube-9c50c0db93e7206dd74f0ff1fccec14549be48ef.zip |
SONAR-4889 Fix deprecation message for sonar.dryRun.readTimeout
Diffstat (limited to 'sonar-batch/src')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/PreviewDatabase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/PreviewDatabase.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/PreviewDatabase.java index 09c70872f75..130b168802d 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/PreviewDatabase.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/PreviewDatabase.java @@ -77,7 +77,7 @@ public class PreviewDatabase implements BatchComponent { private int getReadTimeout() { int readTimeoutSec; if (settings.hasKey(CoreProperties.DRY_RUN_READ_TIMEOUT_SEC)) { - LOG.warn(String.format("Property {0} is deprecated. Please use {1} instead.", CoreProperties.DRY_RUN_READ_TIMEOUT_SEC, CoreProperties.PREVIEW_READ_TIMEOUT_SEC)); + LOG.warn("Property {} is deprecated. Please use {} instead.", CoreProperties.DRY_RUN_READ_TIMEOUT_SEC, CoreProperties.PREVIEW_READ_TIMEOUT_SEC); readTimeoutSec = settings.getInt(CoreProperties.DRY_RUN_READ_TIMEOUT_SEC); } else if (settings.hasKey(CoreProperties.PREVIEW_READ_TIMEOUT_SEC)) { readTimeoutSec = settings.getInt(CoreProperties.PREVIEW_READ_TIMEOUT_SEC); |