diff options
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/StartServer.java | 5 |
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"); |