mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-31 20:51:47 +01:00
Add missing javadoc deprecation msgs for PlayerProfile (#7688)
This commit is contained in:
parent
471c7df4e4
commit
d194acfa0d
@ -10,7 +10,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
--- a/src/main/java/org/bukkit/Bukkit.java
|
--- a/src/main/java/org/bukkit/Bukkit.java
|
||||||
+++ b/src/main/java/org/bukkit/Bukkit.java
|
+++ b/src/main/java/org/bukkit/Bukkit.java
|
||||||
@@ -0,0 +0,0 @@ public final class Bukkit {
|
@@ -0,0 +0,0 @@ public final class Bukkit {
|
||||||
|
* @return the new PlayerProfile
|
||||||
|
* @throws IllegalArgumentException if both the unique id is
|
||||||
* <code>null</code> and the name is <code>null</code> or blank
|
* <code>null</code> and the name is <code>null</code> or blank
|
||||||
|
+ * @deprecated use {@link #createProfile(UUID, String)}
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
+ @Deprecated // Paper
|
+ @Deprecated // Paper
|
||||||
@ -18,7 +21,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
return server.createPlayerProfile(uniqueId, name);
|
return server.createPlayerProfile(uniqueId, name);
|
||||||
}
|
}
|
||||||
@@ -0,0 +0,0 @@ public final class Bukkit {
|
@@ -0,0 +0,0 @@ public final class Bukkit {
|
||||||
|
* @param uniqueId the unique id
|
||||||
|
* @return the new PlayerProfile
|
||||||
* @throws IllegalArgumentException if the unique id is <code>null</code>
|
* @throws IllegalArgumentException if the unique id is <code>null</code>
|
||||||
|
+ * @deprecated use {@link #createProfile(UUID)}
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
+ @Deprecated // Paper
|
+ @Deprecated // Paper
|
||||||
@ -26,7 +32,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
return server.createPlayerProfile(uniqueId);
|
return server.createPlayerProfile(uniqueId);
|
||||||
}
|
}
|
||||||
@@ -0,0 +0,0 @@ public final class Bukkit {
|
@@ -0,0 +0,0 @@ public final class Bukkit {
|
||||||
|
* @return the new PlayerProfile
|
||||||
|
* @throws IllegalArgumentException if the name is <code>null</code> or
|
||||||
* blank
|
* blank
|
||||||
|
+ * @deprecated use {@link #createProfile(String)}
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
+ @Deprecated // Paper
|
+ @Deprecated // Paper
|
||||||
@ -38,7 +47,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
--- a/src/main/java/org/bukkit/Server.java
|
--- a/src/main/java/org/bukkit/Server.java
|
||||||
+++ b/src/main/java/org/bukkit/Server.java
|
+++ b/src/main/java/org/bukkit/Server.java
|
||||||
@@ -0,0 +0,0 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
|
@@ -0,0 +0,0 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
|
||||||
|
* @return the new PlayerProfile
|
||||||
|
* @throws IllegalArgumentException if both the unique id is
|
||||||
* <code>null</code> and the name is <code>null</code> or blank
|
* <code>null</code> and the name is <code>null</code> or blank
|
||||||
|
+ * @deprecated use {@link #createProfile(UUID, String)}
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
+ @Deprecated // Paper
|
+ @Deprecated // Paper
|
||||||
@ -46,7 +58,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -0,0 +0,0 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
|
@@ -0,0 +0,0 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
|
||||||
|
* @param uniqueId the unique id
|
||||||
|
* @return the new PlayerProfile
|
||||||
* @throws IllegalArgumentException if the unique id is <code>null</code>
|
* @throws IllegalArgumentException if the unique id is <code>null</code>
|
||||||
|
+ * @deprecated use {@link #createProfile(UUID)}
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
+ @Deprecated // Paper
|
+ @Deprecated // Paper
|
||||||
@ -54,7 +69,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -0,0 +0,0 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
|
@@ -0,0 +0,0 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
|
||||||
|
* @return the new PlayerProfile
|
||||||
|
* @throws IllegalArgumentException if the name is <code>null</code> or
|
||||||
* blank
|
* blank
|
||||||
|
+ * @deprecated use {@link #createProfile(String)}
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
+ @Deprecated
|
+ @Deprecated
|
||||||
|
Loading…
Reference in New Issue
Block a user