diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-12-09 22:02:28 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-12-09 22:02:28 +0100 |
commit | f0cbff8e9697dd5cb4999eee5e6f92871eacdfe2 (patch) | |
tree | 300024d21d9653b784d0eca86d9b818631f3612e /sonar-home | |
parent | 9b8d4d064f0c719ae1a96fc2140912a90b367706 (diff) | |
download | sonarqube-f0cbff8e9697dd5cb4999eee5e6f92871eacdfe2.tar.gz sonarqube-f0cbff8e9697dd5cb4999eee5e6f92871eacdfe2.zip |
Fix some 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 bed2671dc6a..1b12814c1df 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 @@ -144,7 +144,7 @@ public class FileCache { } catch (IOException e) { // ignore except the last try if (counter == TEMP_FILE_ATTEMPTS - 1) { - throw new IllegalStateException(); + throw new IllegalStateException("Fail to create temp file", e); } } } |