Skip to content
Success

Changes

Summary

  1. Remove unnecessary checks for permission values (commit: a01ff2e) (details)
Commit a01ff2ea6407d4cb3b8a8750dde40f230dc621e3 by Florian Spieß
Remove unnecessary checks for permission values

We shouldn't check for unknown enum values
And checking the sign for an unsigned int is bad
(commit: a01ff2e)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/PermissionOverrideActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/RoleActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/ChannelActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/PermissionOverrideAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/GuildAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/RoleAction.java (diff)