From a0b253f44108cbb210c1e92fe5bd47a2fc78d16c Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 26 May 2016 15:51:33 +0200 Subject: SONAR-7653 remove useless code JVM does not start if runtime version is not 1.8, so it's useless to check java version programmatically. --- sonar-application/src/main/java/org/sonar/application/App.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'sonar-application') diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java index de5db3c03e4..8c8d73529a8 100644 --- a/sonar-application/src/main/java/org/sonar/application/App.java +++ b/sonar-application/src/main/java/org/sonar/application/App.java @@ -26,7 +26,6 @@ import java.util.List; import java.util.Properties; import org.apache.commons.io.FilenameUtils; import org.apache.commons.lang.StringUtils; -import org.sonar.process.MinimumViableSystem; import org.sonar.process.ProcessId; import org.sonar.process.ProcessProperties; import org.sonar.process.Props; @@ -128,7 +127,6 @@ public class App implements Stoppable { } public static void main(String[] args) throws Exception { - new MinimumViableSystem().checkJavaVersion(); CommandLineParser cli = new CommandLineParser(); Properties rawProperties = cli.parseArguments(args); Props props = new PropsBuilder(rawProperties, new JdbcSettings()).build(); -- cgit v1.2.3