summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-11-18 04:22:09 +0100
committersnowleo <schneeleo@gmail.com>2011-11-18 04:22:09 +0100
commitffc1640308e18f44681c1aaf2c20d7fa5f953b26 (patch)
treef1b949175643ba515fd1a543a103e73acd430f61
parent0bbc1e540b11fb9b20d671ee13d87692c7b04c23 (diff)
downloadEssentials-ffc1640308e18f44681c1aaf2c20d7fa5f953b26.tar
Essentials-ffc1640308e18f44681c1aaf2c20d7fa5f953b26.tar.gz
Essentials-ffc1640308e18f44681c1aaf2c20d7fa5f953b26.tar.lz
Essentials-ffc1640308e18f44681c1aaf2c20d7fa5f953b26.tar.xz
Essentials-ffc1640308e18f44681c1aaf2c20d7fa5f953b26.zip
Java 1.5 clients will never reach that point, so we can remove it.
-rw-r--r--Essentials/src/com/earth2me/essentials/Essentials.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java
index 1597c1fe9..2babd6f3c 100644
--- a/Essentials/src/com/earth2me/essentials/Essentials.java
+++ b/Essentials/src/com/earth2me/essentials/Essentials.java
@@ -94,11 +94,6 @@ public class Essentials extends JavaPlugin implements IEssentials
{
execTimer = new ExecuteTimer();
execTimer.start();
- final String[] javaversion = System.getProperty("java.version").split("\\.", 3);
- if (javaversion == null || javaversion.length < 2 || Integer.parseInt(javaversion[1]) < 6)
- {
- LOGGER.log(Level.SEVERE, "Java version not supported! Please install Java 1.6. You have " + System.getProperty("java.version"));
- }
final EssentialsUpgrade upgrade = new EssentialsUpgrade(this);
upgrade.beforeSettings();
execTimer.mark("Upgrade");