aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-05-26 15:51:33 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-05-26 16:07:31 +0200
commita0b253f44108cbb210c1e92fe5bd47a2fc78d16c (patch)
treefaa03ae9b2aab6e24b2b87bcbbec8cc5cbd2565c /sonar-application
parent9ad75916d9932a694fe0b18a039e1ef46bdd815d (diff)
downloadsonarqube-a0b253f44108cbb210c1e92fe5bd47a2fc78d16c.tar.gz
sonarqube-a0b253f44108cbb210c1e92fe5bd47a2fc78d16c.zip
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.
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/src/main/java/org/sonar/application/App.java2
1 files changed, 0 insertions, 2 deletions
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();