Skip to content
Success

Changes

Summary

  1. Add compliance tests for common patterns (#2746) (commit: 84b0a0d) (details)
Commit 84b0a0d340209b52aeac6ee43eee7e274040de01 by noreply
Add compliance tests for common patterns (#2746)

* Add compliance test for rest action annotations
* Add compliance test for future annotations
* Add compliance test for nullability annotations
(commit: 84b0a0d)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/TextChannel.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/JDA.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/data/DataPath.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/audit/AuditLogOption.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Guild.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/exceptions/RateLimitedException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/interactions/MessageEditCallbackAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/Compression.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/RoleAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/GuildStickerManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Entitlement.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/MediaChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/AuditableRestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/pagination/EntitlementPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/Result.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/templates/Template.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/TemplateManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/interaction/GenericAutoCompleteInteractionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/ScheduledEventAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/Manager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/PermissionOverride.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/automod/AutoModRule.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/InviteAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/MessageReference.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/ThreadChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/templates/TemplateChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/GuildWelcomeScreen.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/FluentAuditableRestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermEncoder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/AttachmentProxy.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/concurrent/DelayedCompletableFuture.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/SessionController.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/StageInstanceManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/interaction/command/GenericCommandInteractionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/messages/MessagePoll.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/cache/CacheView.java (diff)
The file was addedsrc/test/java/net/dv8tion/jda/test/compliance/RestActionComplianceTest.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/AutoModRuleManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/CommandCreateAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/middleman/GuildChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/update/GenericForumTagUpdateEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/GuildWelcomeScreenManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/messages/MessagePollData.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/order/OrderAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/http/HttpRequestEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/ShardManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/SequentialRestRateLimiter.java (diff)
The file was modifiedbuild.gradle.kts (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/ForumChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/templates/TemplateRole.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/WebhookManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/FileProxy.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/RoleManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/middleman/MessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/IPositionableChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/channel/update/ChannelUpdateArchiveTimestampEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/commands/CommandInteractionPayload.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/IOFunction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/middleman/StandardGuildChannel.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/managers/CustomEmojiManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/OnlineStatus.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Role.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Webhook.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/member/GuildMemberRoleRemoveEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/pagination/AuditLogPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/ForumPostAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/pagination/PaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/NewsChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/Category.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/RichPresence.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/interaction/component/GenericComponentInteractionCreateEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/exceptions/ErrorResponseException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/middleman/StandardGuildMessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Invite.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/FluentRestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/WebhookAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/StageInstanceAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/ICategorizableChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/MiscUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/CommandListUpdateAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/RichPresenceImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/interactions/ReplyCallbackAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/audit/ActionType.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/ReceivedMessage.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/IPostContainer.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/SelfUser.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermDecoder.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/annotations/UnknownNullability.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/IPermissionContainer.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/RestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/DefaultShardManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/ImageProxy.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/middleman/AudioChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Message.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/ISlowmodeChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/ScheduledEventManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/MemberAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/ScheduledEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/commands/Command.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/VoiceChannel.java (diff)
The file was modifiedsettings.gradle.kts (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/interaction/ModalInteractionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/Request.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/messages/AllowedMentionsData.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/ClientType.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/interaction/command/CommandAutoCompleteInteractionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/GuildManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/MessageCreateAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/PermOverrideManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/CacheRestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/StageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/ChannelManager.java (diff)