aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-21 22:35:43 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-21 23:00:50 +0200
commit71e022071f6b244422f74580ec3c04179695a3ea (patch)
treea40a03e941f1e30ab3cc1a39e30c3c4f8990f79d /sonar-home
parent44447ed6b69b1497ed60cc4d610742a5d9987873 (diff)
downloadsonarqube-71e022071f6b244422f74580ec3c04179695a3ea.tar.gz
sonarqube-71e022071f6b244422f74580ec3c04179695a3ea.zip
Fix quality flaws
Diffstat (limited to 'sonar-home')
-rw-r--r--sonar-home/src/main/java/org/sonar/home/cache/FileCache.java2
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) {