aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject aurora git commit: Remove JDK 1.8 warning.
Date Fri, 11 Sep 2015 17:07:02 GMT
Repository: aurora
Updated Branches:
  refs/heads/master 4ee10b047 -> e0c9e4d80


Remove JDK 1.8 warning.

Reviewed at https://reviews.apache.org/r/38304/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/e0c9e4d8
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/e0c9e4d8
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/e0c9e4d8

Branch: refs/heads/master
Commit: e0c9e4d80cb6ab90d477468d0bfcbff5b5c599a7
Parents: 4ee10b0
Author: Bill Farner <wfarner@apache.org>
Authored: Fri Sep 11 10:03:43 2015 -0700
Committer: Bill Farner <wfarner@apache.org>
Committed: Fri Sep 11 10:03:43 2015 -0700

----------------------------------------------------------------------
 .../apache/aurora/scheduler/app/SchedulerMain.java   | 15 ---------------
 1 file changed, 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/e0c9e4d8/src/main/java/org/apache/aurora/scheduler/app/SchedulerMain.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/app/SchedulerMain.java b/src/main/java/org/apache/aurora/scheduler/app/SchedulerMain.java
index 8047622..acca4b4 100644
--- a/src/main/java/org/apache/aurora/scheduler/app/SchedulerMain.java
+++ b/src/main/java/org/apache/aurora/scheduler/app/SchedulerMain.java
@@ -221,21 +221,6 @@ public class SchedulerMain implements Application {
     logConfiguration.apply();
     Log4jConfigurator.configureConsole(logConfiguration);
 
-    String javaVersion = System.getProperty("java.version");
-    char javaVersionMinor = javaVersion.charAt(2);
-    if (javaVersionMinor < '8') {
-      LOG.warning(
-          "\n**************************************************************************\n"
-          + "*\n"
-          + "*\n"
-          + "*\tBeginning with Aurora 0.9.0, you'll need Java 1.8 to run aurora!\n"
-          + "*\tCurrently you're running \"" + javaVersion + "\"\n"
-          + "*\n"
-          + "*\n"
-          + "**************************************************************************"
-      );
-    }
-
     LeadershipListener leaderListener = schedulerLifecycle.prepare();
 
     HostAndPort httpAddress = httpService.getAddress();


Mime
View raw message