From 4f96dd1dd0a6141d2831d2a57748ad34a9ec8b7f Mon Sep 17 00:00:00 2001
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
Date: Fri, 29 Jan 2016 02:51:53 -0600
Subject: [PATCH] Squash Java 8 patches into pom changes patches
---
Spigot-API-Patches/POM-changes.patch | 36 +++++++++++++
Spigot-API-Patches/Require-Java-8.patch | 51 ------------------
Spigot-Server-Patches/POM-Changes.patch | 48 +++++++++++++++++
Spigot-Server-Patches/Require-Java-8.patch | 63 ----------------------
4 files changed, 84 insertions(+), 114 deletions(-)
delete mode 100644 Spigot-API-Patches/Require-Java-8.patch
delete mode 100644 Spigot-Server-Patches/Require-Java-8.patch
diff --git a/Spigot-API-Patches/POM-changes.patch b/Spigot-API-Patches/POM-changes.patch
index 441a3a0d7..422bd437f 100644
--- a/Spigot-API-Patches/POM-changes.patch
+++ b/Spigot-API-Patches/POM-changes.patch
@@ -34,4 +34,40 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
An enhanced plugin API for Minecraft servers.
+- 1.6
+- 1.6
++
++ -Xdoclint:none
++ 1.8
++ 1.8
+ UTF-8
+
+
+@@ -0,0 +0,0 @@
+
+
+
+- org.codehaus.mojo
+- animal-sniffer-maven-plugin
+- 1.13
+-
+-
+- process-classes
+-
+- check
+-
+-
+-
+-
+-
+- org.codehaus.mojo.signature
+- java16
+- 1.1
+-
+-
+-
+-
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 2.3
--
\ No newline at end of file
diff --git a/Spigot-API-Patches/Require-Java-8.patch b/Spigot-API-Patches/Require-Java-8.patch
deleted file mode 100644
index 56f89063b..000000000
--- a/Spigot-API-Patches/Require-Java-8.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Zach Brown <1254957+zachbr@users.noreply.github.com>
-Date: Fri, 8 Jan 2016 23:50:25 -0600
-Subject: [PATCH] Require Java 8
-
-
-diff --git a/pom.xml b/pom.xml
-index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
---- a/pom.xml
-+++ b/pom.xml
-@@ -0,0 +0,0 @@
- An enhanced plugin API for Minecraft servers.
-
-
-- 1.6
-- 1.6
-+
-+ -Xdoclint:none
-+ 1.8
-+ 1.8
- UTF-8
-
-
-@@ -0,0 +0,0 @@
-
-
-
-- org.codehaus.mojo
-- animal-sniffer-maven-plugin
-- 1.13
--
--
-- process-classes
--
-- check
--
--
--
--
--
-- org.codehaus.mojo.signature
-- java16
-- 1.1
--
--
--
--
- org.apache.maven.plugins
- maven-shade-plugin
- 2.3
---
\ No newline at end of file
diff --git a/Spigot-Server-Patches/POM-Changes.patch b/Spigot-Server-Patches/POM-Changes.patch
index 81ae59358..b4e33de00 100644
--- a/Spigot-Server-Patches/POM-Changes.patch
+++ b/Spigot-Server-Patches/POM-Changes.patch
@@ -26,6 +26,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
UTF-8
@@ -0,0 +0,0 @@
+ 1_8_R3
+ git-Bukkit-
+
+- 1.6
+- 1.6
++
++ 1.8
++ 1.8
@@ -71,6 +79,46 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
Bukkit Team
Bukkit
${api.version}
+@@ -0,0 +0,0 @@
+
+
+
+- org.codehaus.mojo
+- animal-sniffer-maven-plugin
+- 1.13
+-
+-
+- process-classes
+-
+- check
+-
+-
+-
+-
+-
+- org.codehaus.mojo.signature
+- java16
+- 1.1
+-
+-
+-
+-
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 2.3
+diff --git a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
+index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
+--- a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
++++ b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
+@@ -0,0 +0,0 @@ public class PathfinderGoalNearestAttackableTarget exten
+ protected final Class a;
+ private final int g;
+ protected final PathfinderGoalNearestAttackableTarget.DistanceComparator b;
+- protected Predicate super T> c;
++ protected Predicate c;
+ protected EntityLiving d;
+
+ public PathfinderGoalNearestAttackableTarget(EntityCreature entitycreature, Class oclass, boolean flag) {
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
diff --git a/Spigot-Server-Patches/Require-Java-8.patch b/Spigot-Server-Patches/Require-Java-8.patch
deleted file mode 100644
index c60de40ac..000000000
--- a/Spigot-Server-Patches/Require-Java-8.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Zach Brown <1254957+zachbr@users.noreply.github.com>
-Date: Fri, 8 Jan 2016 23:50:25 -0600
-Subject: [PATCH] Require Java 8
-
-
-diff --git a/pom.xml b/pom.xml
-index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
---- a/pom.xml
-+++ b/pom.xml
-@@ -0,0 +0,0 @@
- 1_8_R3
- git-Bukkit-
-
-- 1.6
-- 1.6
-+
-+ 1.8
-+ 1.8
-
-
-
-@@ -0,0 +0,0 @@
-
-
-
-- org.codehaus.mojo
-- animal-sniffer-maven-plugin
-- 1.13
--
--
-- process-classes
--
-- check
--
--
--
--
--
-- org.codehaus.mojo.signature
-- java16
-- 1.1
--
--
--
--
- org.apache.maven.plugins
- maven-shade-plugin
- 2.3
-diff --git a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
-index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
---- a/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
-+++ b/src/main/java/net/minecraft/server/PathfinderGoalNearestAttackableTarget.java
-@@ -0,0 +0,0 @@ public class PathfinderGoalNearestAttackableTarget exten
- protected final Class a;
- private final int g;
- protected final PathfinderGoalNearestAttackableTarget.DistanceComparator b;
-- protected Predicate super T> c;
-+ protected Predicate c;
- protected EntityLiving d;
-
- public PathfinderGoalNearestAttackableTarget(EntityCreature entitycreature, Class oclass, boolean flag) {
---
\ No newline at end of file