diff --git a/src/main/java/net/dv8tion/jda/api/entities/Guild.java b/src/main/java/net/dv8tion/jda/api/entities/Guild.java index b6a8f55957..9dbc9ef001 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/Guild.java +++ b/src/main/java/net/dv8tion/jda/api/entities/Guild.java @@ -2009,9 +2009,6 @@ default RestAction retrieveEmoji(@Nonnull CustomEmoji emoji) * all properties and settings of the Guild. *
You modify multiple fields in one request by chaining setters before calling {@link RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @throws net.dv8tion.jda.api.exceptions.InsufficientPermissionException * If the currently logged in account does not have {@link net.dv8tion.jda.api.Permission#MANAGE_SERVER Permission.MANAGE_SERVER} * diff --git a/src/main/java/net/dv8tion/jda/api/entities/PermissionOverride.java b/src/main/java/net/dv8tion/jda/api/entities/PermissionOverride.java index cdc66cb489..f44ee4f31e 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/PermissionOverride.java +++ b/src/main/java/net/dv8tion/jda/api/entities/PermissionOverride.java @@ -176,9 +176,6 @@ public interface PermissionOverride extends ISnowflake *
In the PermissionOverrideAction you can modify the permissions of the override. * You modify multiple fields in one request by chaining setters before calling {@link net.dv8tion.jda.api.requests.RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @throws net.dv8tion.jda.api.exceptions.InsufficientPermissionException * If the currently logged in account does not have {@link net.dv8tion.jda.api.Permission#MANAGE_PERMISSIONS Permission.MANAGE_PERMISSIONS} * diff --git a/src/main/java/net/dv8tion/jda/api/entities/Role.java b/src/main/java/net/dv8tion/jda/api/entities/Role.java index 7a85b600ad..3747326b92 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/Role.java +++ b/src/main/java/net/dv8tion/jda/api/entities/Role.java @@ -230,9 +230,6 @@ default RoleAction createCopy() * In the RoleManager, you can modify all its values. *
You modify multiple fields in one request by chaining setters before calling {@link net.dv8tion.jda.api.requests.RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @throws net.dv8tion.jda.api.exceptions.InsufficientPermissionException * If the currently logged in account does not have {@link net.dv8tion.jda.api.Permission#MANAGE_ROLES Permission.MANAGE_ROLES} * @throws net.dv8tion.jda.api.exceptions.HierarchyException diff --git a/src/main/java/net/dv8tion/jda/api/entities/SelfUser.java b/src/main/java/net/dv8tion/jda/api/entities/SelfUser.java index 284efec07b..b2b78731d2 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/SelfUser.java +++ b/src/main/java/net/dv8tion/jda/api/entities/SelfUser.java @@ -81,9 +81,6 @@ default String getApplicationId() *
This can be used to atomically set account fields (like avatar/username) * You modify multiple fields in one request by chaining setters before calling {@link net.dv8tion.jda.api.requests.RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @return An AccountManager instance for the current account */ @Nonnull diff --git a/src/main/java/net/dv8tion/jda/api/entities/Webhook.java b/src/main/java/net/dv8tion/jda/api/entities/Webhook.java index b7134447e4..8752b4f073 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/Webhook.java +++ b/src/main/java/net/dv8tion/jda/api/entities/Webhook.java @@ -291,9 +291,6 @@ public interface Webhook extends ISnowflake * The {@link WebhookManager WebhookManager} for this Webhook. *
You can modify multiple fields in one request by chaining setters before calling {@link net.dv8tion.jda.api.requests.RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @throws net.dv8tion.jda.api.exceptions.InsufficientPermissionException * If the currently logged in account does not have {@link net.dv8tion.jda.api.Permission#MANAGE_WEBHOOKS Permission.MANAGE_WEBHOOKS} * diff --git a/src/main/java/net/dv8tion/jda/api/entities/channel/middleman/GuildChannel.java b/src/main/java/net/dv8tion/jda/api/entities/channel/middleman/GuildChannel.java index 03683a09dd..a093fc3db0 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/channel/middleman/GuildChannel.java +++ b/src/main/java/net/dv8tion/jda/api/entities/channel/middleman/GuildChannel.java @@ -55,9 +55,6 @@ public interface GuildChannel extends Channel, Comparable *
In the ChannelManager, you can modify the name, topic and position of this GuildChannel. * You modify multiple fields in one request by chaining setters before calling {@link net.dv8tion.jda.api.requests.RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @throws net.dv8tion.jda.api.exceptions.InsufficientPermissionException * If the currently logged in account does not have {@link net.dv8tion.jda.api.Permission#MANAGE_CHANNEL Permission.MANAGE_CHANNEL} * diff --git a/src/main/java/net/dv8tion/jda/api/entities/emoji/RichCustomEmoji.java b/src/main/java/net/dv8tion/jda/api/entities/emoji/RichCustomEmoji.java index 47ef0ab35b..c3a7735ddc 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/emoji/RichCustomEmoji.java +++ b/src/main/java/net/dv8tion/jda/api/entities/emoji/RichCustomEmoji.java @@ -167,9 +167,6 @@ public interface RichCustomEmoji extends CustomEmoji * properties of the emoji like name and role restrictions. *
You modify multiple fields in one request by chaining setters before calling {@link net.dv8tion.jda.api.requests.RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @throws net.dv8tion.jda.api.exceptions.InsufficientPermissionException * If the currently logged in account does not have {@link net.dv8tion.jda.api.Permission#MANAGE_EMOJIS_AND_STICKERS Permission.MANAGE_EMOJIS_AND_STICKERS} * diff --git a/src/main/java/net/dv8tion/jda/api/entities/templates/Template.java b/src/main/java/net/dv8tion/jda/api/entities/templates/Template.java index 5e8d74759e..47bddb702e 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/templates/Template.java +++ b/src/main/java/net/dv8tion/jda/api/entities/templates/Template.java @@ -261,9 +261,6 @@ public boolean isSynced() *
In the TemplateManager, you can modify the name or description of the template. * You modify multiple fields in one request by chaining setters before calling {@link net.dv8tion.jda.api.requests.RestAction#queue() RestAction.queue()}. * - *

This is a lazy idempotent getter. The manager is retained after the first call. - * This getter is not thread-safe and would require guards by the user. - * * @throws IllegalStateException * If the account is not in the template's guild * @throws net.dv8tion.jda.api.exceptions.InsufficientPermissionException diff --git a/src/main/java/net/dv8tion/jda/api/managers/AccountManager.java b/src/main/java/net/dv8tion/jda/api/managers/AccountManager.java index e7ddc8591c..0cf5302fb5 100644 --- a/src/main/java/net/dv8tion/jda/api/managers/AccountManager.java +++ b/src/main/java/net/dv8tion/jda/api/managers/AccountManager.java @@ -80,7 +80,6 @@ public interface AccountManager extends Manager /** * Resets the fields specified by the provided bit-flag patterns. - * You can specify a combination by using a bitwise OR concat of the flag constants. *
Example: {@code manager.reset(AccountManager.NAME, AccountManager.AVATAR);} * *

Flag Constants: diff --git a/src/main/java/net/dv8tion/jda/api/managers/CustomEmojiManager.java b/src/main/java/net/dv8tion/jda/api/managers/CustomEmojiManager.java index a98845c930..0592ae4fb9 100644 --- a/src/main/java/net/dv8tion/jda/api/managers/CustomEmojiManager.java +++ b/src/main/java/net/dv8tion/jda/api/managers/CustomEmojiManager.java @@ -69,8 +69,7 @@ public interface CustomEmojiManager extends Manager CustomEmojiManager reset(long fields); /** - * Resets the fields specified by the provided bit-flag pattern. - * You can specify a combination by using a bitwise OR concat of the flag constants. + * Resets the fields specified by the provided bit-flag patterns. *
Example: {@code manager.reset(CustomEmojiManager.NAME, CustomEmojiManager.ROLES);} * *

Flag Constants: diff --git a/src/main/java/net/dv8tion/jda/api/managers/GuildManager.java b/src/main/java/net/dv8tion/jda/api/managers/GuildManager.java index 92f6850d07..7888a8fad3 100644 --- a/src/main/java/net/dv8tion/jda/api/managers/GuildManager.java +++ b/src/main/java/net/dv8tion/jda/api/managers/GuildManager.java @@ -107,7 +107,6 @@ public interface GuildManager extends Manager /** * Resets the fields specified by the provided bit-flag patterns. - * You can specify a combination by using a bitwise OR concat of the flag constants. *
Example: {@code manager.reset(GuildManager.NAME, GuildManager.ICON);} * *

Flag Constants: diff --git a/src/main/java/net/dv8tion/jda/api/managers/GuildStickerManager.java b/src/main/java/net/dv8tion/jda/api/managers/GuildStickerManager.java index e89d49b9e7..0f7108da9b 100644 --- a/src/main/java/net/dv8tion/jda/api/managers/GuildStickerManager.java +++ b/src/main/java/net/dv8tion/jda/api/managers/GuildStickerManager.java @@ -75,8 +75,7 @@ public interface GuildStickerManager extends Manager GuildStickerManager reset(long fields); /** - * Resets the fields specified by the provided bit-flag pattern. - * You can specify a combination by using a bitwise OR concat of the flag constants. + * Resets the fields specified by the provided bit-flag patterns. *
Example: {@code manager.reset(GuildStickerManager.NAME, GuildStickerManager.TAGS);} * *

Flag Constants: diff --git a/src/main/java/net/dv8tion/jda/api/managers/PermOverrideManager.java b/src/main/java/net/dv8tion/jda/api/managers/PermOverrideManager.java index 96726ac71b..57c0e512ee 100644 --- a/src/main/java/net/dv8tion/jda/api/managers/PermOverrideManager.java +++ b/src/main/java/net/dv8tion/jda/api/managers/PermOverrideManager.java @@ -76,7 +76,6 @@ public interface PermOverrideManager extends Manager /** * Resets the fields specified by the provided bit-flag patterns. - * You can specify a combination by using a bitwise OR concat of the flag constants. *
Example: {@code manager.reset(PermOverrideManager.ALLOWED, PermOverrideManager.DENIED);} * *

Flag Constants: diff --git a/src/main/java/net/dv8tion/jda/api/managers/RoleManager.java b/src/main/java/net/dv8tion/jda/api/managers/RoleManager.java index 73e5fec252..42bd951369 100644 --- a/src/main/java/net/dv8tion/jda/api/managers/RoleManager.java +++ b/src/main/java/net/dv8tion/jda/api/managers/RoleManager.java @@ -87,7 +87,6 @@ public interface RoleManager extends Manager /** * Resets the fields specified by the provided bit-flag patterns. - * You can specify a combination by using a bitwise OR concat of the flag constants. *
Example: {@code manager.reset(RoleManager.COLOR, RoleManager.NAME);} * *

Flag Constants: diff --git a/src/main/java/net/dv8tion/jda/api/managers/WebhookManager.java b/src/main/java/net/dv8tion/jda/api/managers/WebhookManager.java index bb33eeaa77..a094ddc61f 100644 --- a/src/main/java/net/dv8tion/jda/api/managers/WebhookManager.java +++ b/src/main/java/net/dv8tion/jda/api/managers/WebhookManager.java @@ -74,7 +74,6 @@ public interface WebhookManager extends Manager /** * Resets the fields specified by the provided bit-flag patterns. - * You can specify a combination by using a bitwise OR concat of the flag constants. *
Example: {@code manager.reset(WebhookManager.CHANNEL, WebhookManager.NAME);} * *

Flag Constants: