Java 1.6 compile support

This commit is contained in:
md_5 2013-06-25 18:12:27 +10:00
parent 8c974b4f67
commit 26ed947128

View file

@ -1,4 +1,4 @@
From 30196d52fe8630bfa0dd6ccf218e2a0461310fc8 Mon Sep 17 00:00:00 2001 From 05523e9ca5b7f91133e2fa0a43f4d00bb73c23f8 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au> From: md_5 <md_5@live.com.au>
Date: Sat, 22 Jun 2013 14:06:41 +1000 Date: Sat, 22 Jun 2013 14:06:41 +1000
Subject: [PATCH] Spigot Configuration Subject: [PATCH] Spigot Configuration
@ -77,7 +77,7 @@ index 00326c1..6e6fe1c 100644
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
new file mode 100644 new file mode 100644
index 0000000..1d915fb index 0000000..b7dbda4
--- /dev/null --- /dev/null
+++ b/src/main/java/org/spigotmc/SpigotConfig.java +++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -0,0 +1,114 @@ @@ -0,0 +1,114 @@
@ -154,7 +154,7 @@ index 0000000..1d915fb
+ } catch ( InvocationTargetException ex ) + } catch ( InvocationTargetException ex )
+ { + {
+ Throwables.propagate( ex.getCause() ); + Throwables.propagate( ex.getCause() );
+ } catch ( ReflectiveOperationException ex ) + } catch ( Exception ex )
+ { + {
+ Bukkit.getLogger().log( Level.SEVERE, "Error invoking " + method, ex ); + Bukkit.getLogger().log( Level.SEVERE, "Error invoking " + method, ex );
+ } + }