diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-06-18 18:08:27 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-06-18 18:08:37 +0200 |
commit | 47bad47ae07d3ffc895f3e76261d637073c57981 (patch) | |
tree | e8da538d2cb6b58477da8bdd339699120f8d5cce /sonar-home | |
parent | 036e011d5493e11ff3288cd27432c73ed133003e (diff) | |
download | sonarqube-47bad47ae07d3ffc895f3e76261d637073c57981.tar.gz sonarqube-47bad47ae07d3ffc895f3e76261d637073c57981.zip |
Fix quality flaws
Diffstat (limited to 'sonar-home')
-rw-r--r-- | sonar-home/src/main/java/org/sonar/home/cache/FileCache.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java index 3b681edcff1..5998b97a2c5 100644 --- a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java +++ b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java @@ -106,7 +106,7 @@ public class FileCache { // Check if the file was cached by another process during download if (!rename && !targetFile.exists()) { log.warn(String.format("Unable to rename %s to %s", sourceFile.getAbsolutePath(), targetFile.getAbsolutePath())); - log.warn(String.format("A copy/delete will be tempted but with no garantee of atomicity")); + log.warn("A copy/delete will be tempted but with no guarantee of atomicity"); try { Files.move(sourceFile.toPath(), targetFile.toPath()); } catch (IOException e) { |