aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-12-22 17:55:39 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-12-23 16:57:40 +0400
commitf018647e4a4e093ce27d8b49de789dfa4801d542 (patch)
tree4f8332f1a8ec186e364bd794f8abafbd54efeb2b /sonar-application
parentdad4215c4c3593b8753e41777a9993ace39d4d95 (diff)
downloadsonarqube-f018647e4a4e093ce27d8b49de789dfa4801d542.tar.gz
sonarqube-f018647e4a4e093ce27d8b49de789dfa4801d542.zip
SONAR-2660 Add comment
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/src/main/java/org/sonar/application/StartServer.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/StartServer.java b/sonar-application/src/main/java/org/sonar/application/StartServer.java
index eef404e5bac..91da4327363 100644
--- a/sonar-application/src/main/java/org/sonar/application/StartServer.java
+++ b/sonar-application/src/main/java/org/sonar/application/StartServer.java
@@ -51,7 +51,10 @@ public final class StartServer {
Thread.currentThread().join();
}
- static void canCreateTemporaryFiles() {
+ /**
+ * This check is required in order to provide more meaningful message than JRuby - see SONAR-2715
+ */
+ private static void canCreateTemporaryFiles() {
File file = null;
try {
file = File.createTempFile("sonar-check", "tmp");