|
|
@ -1,4 +1,4 @@
|
|
|
|
From 99c0adf6c57cc58af99333310a1dfbed7383ae9b Mon Sep 17 00:00:00 2001
|
|
|
|
From 4179a14fc2e28427ea851b91888e8073831bcfc3 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
|
|
Date: Sat, 10 Jun 2017 16:59:40 -0500
|
|
|
|
Date: Sat, 10 Jun 2017 16:59:40 -0500
|
|
|
|
Subject: [PATCH] Fix upstream javadoc warnings and errors
|
|
|
|
Subject: [PATCH] Fix upstream javadoc warnings and errors
|
|
|
@ -6,7 +6,7 @@ Subject: [PATCH] Fix upstream javadoc warnings and errors
|
|
|
|
Upstream still refuses to use Java 8 with the API so they are likely unaware these are even issues.
|
|
|
|
Upstream still refuses to use Java 8 with the API so they are likely unaware these are even issues.
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/NamespacedKey.java b/src/main/java/org/bukkit/NamespacedKey.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/NamespacedKey.java b/src/main/java/org/bukkit/NamespacedKey.java
|
|
|
|
index 43239f844..fe8d34685 100644
|
|
|
|
index 43239f84..fe8d3468 100644
|
|
|
|
--- a/src/main/java/org/bukkit/NamespacedKey.java
|
|
|
|
--- a/src/main/java/org/bukkit/NamespacedKey.java
|
|
|
|
+++ b/src/main/java/org/bukkit/NamespacedKey.java
|
|
|
|
+++ b/src/main/java/org/bukkit/NamespacedKey.java
|
|
|
|
@@ -38,8 +38,8 @@ public final class NamespacedKey {
|
|
|
|
@@ -38,8 +38,8 @@ public final class NamespacedKey {
|
|
|
@ -21,10 +21,10 @@ index 43239f844..fe8d34685 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
|
|
|
|
index 7875a71ad..e14098fac 100644
|
|
|
|
index d461c382..4e07af2e 100644
|
|
|
|
--- a/src/main/java/org/bukkit/World.java
|
|
|
|
--- a/src/main/java/org/bukkit/World.java
|
|
|
|
+++ b/src/main/java/org/bukkit/World.java
|
|
|
|
+++ b/src/main/java/org/bukkit/World.java
|
|
|
|
@@ -1304,6 +1304,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
@@ -1308,6 +1308,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
* @param count the number of particles
|
|
|
|
* @param count the number of particles
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
@ -32,7 +32,7 @@ index 7875a71ad..e14098fac 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public <T> void spawnParticle(Particle particle, Location location, int count, T data);
|
|
|
|
public <T> void spawnParticle(Particle particle, Location location, int count, T data);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1319,6 +1320,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
@@ -1323,6 +1324,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
* @param count the number of particles
|
|
|
|
* @param count the number of particles
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
@ -40,7 +40,7 @@ index 7875a71ad..e14098fac 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, T data);
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, T data);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1368,6 +1370,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
@@ -1372,6 +1374,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
* @param offsetZ the maximum random offset on the Z axis
|
|
|
|
* @param offsetZ the maximum random offset on the Z axis
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
@ -48,7 +48,7 @@ index 7875a71ad..e14098fac 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, T data);
|
|
|
|
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, T data);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1387,6 +1390,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
@@ -1391,6 +1394,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
* @param offsetZ the maximum random offset on the Z axis
|
|
|
|
* @param offsetZ the maximum random offset on the Z axis
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
@ -56,7 +56,7 @@ index 7875a71ad..e14098fac 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, T data);
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, T data);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1442,6 +1446,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
@@ -1446,6 +1450,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
* particle used (normally speed)
|
|
|
|
* particle used (normally speed)
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
@ -64,7 +64,7 @@ index 7875a71ad..e14098fac 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data);
|
|
|
|
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1463,6 +1468,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
@@ -1467,6 +1472,7 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|
|
|
* particle used (normally speed)
|
|
|
|
* particle used (normally speed)
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* @param data the data to use for the particle or null,
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
|
* the type of this depends on {@link Particle#getDataType()}
|
|
|
@ -73,7 +73,7 @@ index 7875a71ad..e14098fac 100644
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data);
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data);
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/AbstractHorse.java b/src/main/java/org/bukkit/entity/AbstractHorse.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/AbstractHorse.java b/src/main/java/org/bukkit/entity/AbstractHorse.java
|
|
|
|
index 107574546..6d5410eab 100644
|
|
|
|
index 10757454..6d5410ea 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/AbstractHorse.java
|
|
|
|
--- a/src/main/java/org/bukkit/entity/AbstractHorse.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/AbstractHorse.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/AbstractHorse.java
|
|
|
|
@@ -22,7 +22,7 @@ public interface AbstractHorse extends Animals, Vehicle, InventoryHolder, Tameab
|
|
|
|
@@ -22,7 +22,7 @@ public interface AbstractHorse extends Animals, Vehicle, InventoryHolder, Tameab
|
|
|
@ -86,7 +86,7 @@ index 107574546..6d5410eab 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Guardian.java b/src/main/java/org/bukkit/entity/Guardian.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Guardian.java b/src/main/java/org/bukkit/entity/Guardian.java
|
|
|
|
index 98af0563c..ec6890ae6 100644
|
|
|
|
index 98af0563..ec6890ae 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Guardian.java
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Guardian.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Guardian.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Guardian.java
|
|
|
|
@@ -12,7 +12,7 @@ public interface Guardian extends Monster {
|
|
|
|
@@ -12,7 +12,7 @@ public interface Guardian extends Monster {
|
|
|
@ -99,7 +99,7 @@ index 98af0563c..ec6890ae6 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Horse.java b/src/main/java/org/bukkit/entity/Horse.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Horse.java b/src/main/java/org/bukkit/entity/Horse.java
|
|
|
|
index cfce8fa57..8660070bb 100644
|
|
|
|
index cfce8fa5..8660070b 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Horse.java
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Horse.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Horse.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Horse.java
|
|
|
|
@@ -151,7 +151,7 @@ public interface Horse extends AbstractHorse {
|
|
|
|
@@ -151,7 +151,7 @@ public interface Horse extends AbstractHorse {
|
|
|
@ -112,7 +112,7 @@ index cfce8fa57..8660070bb 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
index 98c6039b9..7c008237a 100644
|
|
|
|
index 98c6039b..7c008237 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
@@ -456,7 +456,7 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|
|
|
@@ -456,7 +456,7 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|
|
@ -205,7 +205,7 @@ index 98c6039b9..7c008237a 100644
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data);
|
|
|
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data);
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Skeleton.java b/src/main/java/org/bukkit/entity/Skeleton.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Skeleton.java b/src/main/java/org/bukkit/entity/Skeleton.java
|
|
|
|
index 2a02ab855..e33d00b30 100644
|
|
|
|
index 2a02ab85..e33d00b3 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Skeleton.java
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Skeleton.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Skeleton.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Skeleton.java
|
|
|
|
@@ -15,6 +15,7 @@ public interface Skeleton extends Monster {
|
|
|
|
@@ -15,6 +15,7 @@ public interface Skeleton extends Monster {
|
|
|
@ -217,7 +217,7 @@ index 2a02ab855..e33d00b30 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Zombie.java b/src/main/java/org/bukkit/entity/Zombie.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Zombie.java b/src/main/java/org/bukkit/entity/Zombie.java
|
|
|
|
index cf53ea22f..629233796 100644
|
|
|
|
index cf53ea22..62923379 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Zombie.java
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Zombie.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Zombie.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Zombie.java
|
|
|
|
@@ -29,14 +29,14 @@ public interface Zombie extends Monster {
|
|
|
|
@@ -29,14 +29,14 @@ public interface Zombie extends Monster {
|
|
|
@ -238,7 +238,7 @@ index cf53ea22f..629233796 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java b/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java b/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java
|
|
|
|
index de4fb37f3..f1de2af6e 100644
|
|
|
|
index de4fb37f..f1de2af6 100644
|
|
|
|
--- a/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java
|
|
|
|
--- a/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java
|
|
|
|
+++ b/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java
|
|
|
|
+++ b/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java
|
|
|
|
@@ -24,6 +24,7 @@ public class PlayerLoginEvent extends PlayerEvent {
|
|
|
|
@@ -24,6 +24,7 @@ public class PlayerLoginEvent extends PlayerEvent {
|
|
|
@ -258,7 +258,7 @@ index de4fb37f3..f1de2af6e 100644
|
|
|
|
public PlayerLoginEvent(final Player player, String hostname, final InetAddress address, final Result result, final String message, final InetAddress realAddress) { // Spigot
|
|
|
|
public PlayerLoginEvent(final Player player, String hostname, final InetAddress address, final Result result, final String message, final InetAddress realAddress) { // Spigot
|
|
|
|
this(player, hostname, address, realAddress); // Spigot
|
|
|
|
this(player, hostname, address, realAddress); // Spigot
|
|
|
|
diff --git a/src/main/java/org/bukkit/inventory/Merchant.java b/src/main/java/org/bukkit/inventory/Merchant.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/inventory/Merchant.java b/src/main/java/org/bukkit/inventory/Merchant.java
|
|
|
|
index c8e68570f..45431b360 100644
|
|
|
|
index c8e68570..45431b36 100644
|
|
|
|
--- a/src/main/java/org/bukkit/inventory/Merchant.java
|
|
|
|
--- a/src/main/java/org/bukkit/inventory/Merchant.java
|
|
|
|
+++ b/src/main/java/org/bukkit/inventory/Merchant.java
|
|
|
|
+++ b/src/main/java/org/bukkit/inventory/Merchant.java
|
|
|
|
@@ -32,7 +32,7 @@ public interface Merchant {
|
|
|
|
@@ -32,7 +32,7 @@ public interface Merchant {
|
|
|
@ -280,7 +280,7 @@ index c8e68570f..45431b360 100644
|
|
|
|
void setRecipe(int i, MerchantRecipe recipe) throws IndexOutOfBoundsException;
|
|
|
|
void setRecipe(int i, MerchantRecipe recipe) throws IndexOutOfBoundsException;
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/potion/Potion.java b/src/main/java/org/bukkit/potion/Potion.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/potion/Potion.java b/src/main/java/org/bukkit/potion/Potion.java
|
|
|
|
index 1413b361b..b4a8051cc 100644
|
|
|
|
index 1413b361..b4a8051c 100644
|
|
|
|
--- a/src/main/java/org/bukkit/potion/Potion.java
|
|
|
|
--- a/src/main/java/org/bukkit/potion/Potion.java
|
|
|
|
+++ b/src/main/java/org/bukkit/potion/Potion.java
|
|
|
|
+++ b/src/main/java/org/bukkit/potion/Potion.java
|
|
|
|
@@ -78,6 +78,7 @@ public class Potion {
|
|
|
|
@@ -78,6 +78,7 @@ public class Potion {
|
|
|
@ -292,7 +292,7 @@ index 1413b361b..b4a8051cc 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/potion/PotionBrewer.java b/src/main/java/org/bukkit/potion/PotionBrewer.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/potion/PotionBrewer.java b/src/main/java/org/bukkit/potion/PotionBrewer.java
|
|
|
|
index 40f8d12b9..33d192287 100644
|
|
|
|
index 40f8d12b..33d19228 100644
|
|
|
|
--- a/src/main/java/org/bukkit/potion/PotionBrewer.java
|
|
|
|
--- a/src/main/java/org/bukkit/potion/PotionBrewer.java
|
|
|
|
+++ b/src/main/java/org/bukkit/potion/PotionBrewer.java
|
|
|
|
+++ b/src/main/java/org/bukkit/potion/PotionBrewer.java
|
|
|
|
@@ -34,6 +34,8 @@ public interface PotionBrewer {
|
|
|
|
@@ -34,6 +34,8 @@ public interface PotionBrewer {
|
|
|
@ -305,7 +305,7 @@ index 40f8d12b9..33d192287 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public Collection<PotionEffect> getEffects(PotionType type, boolean upgraded, boolean extended);
|
|
|
|
public Collection<PotionEffect> getEffects(PotionType type, boolean upgraded, boolean extended);
|
|
|
|
diff --git a/src/main/java/org/bukkit/potion/PotionType.java b/src/main/java/org/bukkit/potion/PotionType.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/potion/PotionType.java b/src/main/java/org/bukkit/potion/PotionType.java
|
|
|
|
index 034421a76..f1a54c23c 100644
|
|
|
|
index 034421a7..f1a54c23 100644
|
|
|
|
--- a/src/main/java/org/bukkit/potion/PotionType.java
|
|
|
|
--- a/src/main/java/org/bukkit/potion/PotionType.java
|
|
|
|
+++ b/src/main/java/org/bukkit/potion/PotionType.java
|
|
|
|
+++ b/src/main/java/org/bukkit/potion/PotionType.java
|
|
|
|
@@ -68,6 +68,7 @@ public enum PotionType {
|
|
|
|
@@ -68,6 +68,7 @@ public enum PotionType {
|
|
|
@ -335,7 +335,7 @@ index 034421a76..f1a54c23c 100644
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
@Deprecated
|
|
|
|
diff --git a/src/main/java/org/bukkit/scoreboard/Team.java b/src/main/java/org/bukkit/scoreboard/Team.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/scoreboard/Team.java b/src/main/java/org/bukkit/scoreboard/Team.java
|
|
|
|
index ab71f3c31..358ea386b 100644
|
|
|
|
index ab71f3c3..358ea386 100644
|
|
|
|
--- a/src/main/java/org/bukkit/scoreboard/Team.java
|
|
|
|
--- a/src/main/java/org/bukkit/scoreboard/Team.java
|
|
|
|
+++ b/src/main/java/org/bukkit/scoreboard/Team.java
|
|
|
|
+++ b/src/main/java/org/bukkit/scoreboard/Team.java
|
|
|
|
@@ -84,7 +84,7 @@ public interface Team {
|
|
|
|
@@ -84,7 +84,7 @@ public interface Team {
|
|
|
|