Skip to content
Success

Changes

Summary

  1. Enhancements for Permissions/CacheView/ErrorResponseException (#633) (commit: 52bf802) (details)
Commit 52bf80207f791a3367f520078d6ef2fe45070655 by noreply
Enhancements for Permissions/CacheView/ErrorResponseException (#633)
* Improved equals checks, removed duplicate code
* Made iterators use copied arrays
* Store final empty array for optimization
* Micro optimizations for permissions because why not
* Use obj.toString() in ErrorResponseException when json is present
* Removed annoying warnings about deprecation and unchecked casts
(commit: 52bf802)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/order/OrderAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/Permission.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/RoleImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/MemberImpl.java (diff)
The file was modifiedbuild.gradle (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/exceptions/ErrorResponseException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/cache/impl/SnowflakeCacheViewImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/cache/impl/MemberCacheViewImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/RestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/cache/impl/SortedSnowflakeCacheView.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioConnection.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/PermissionOverrideAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/entities/impl/JDAClientImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/RoleAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageBulkDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/PaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/webhook/WebhookClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/cache/CacheView.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/cache/impl/AbstractCacheView.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/AuditableRestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/entities/impl/GroupImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/Decoder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/bot/utils/cache/impl/ShardCacheViewImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/cache/impl/UnifiedCacheViewImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/JDAImpl.java (diff)