Skip to content

Simplified and cleaned up API and implementations#230

Merged
NonSwag merged 8 commits into
mainfrom
refactor/simplification
Mar 22, 2026
Merged

Simplified and cleaned up API and implementations#230
NonSwag merged 8 commits into
mainfrom
refactor/simplification

Conversation

@NonSwag

@NonSwag NonSwag commented Mar 22, 2026

Copy link
Copy Markdown
Member

No description provided.

NonSwag added 8 commits March 22, 2026 07:59
Simplified the codebase by removing redundant null-safety declarations. These annotations are now applied at the module level within `module-info.java`.
Unified method signatures across controllers and improved null-handling in `PermissionHolder` operations. Introduced `@Nullable` annotations for clearer API usage.
Updated method signatures in `EconomyServiceWrapper` and `EconomyController` to include `@Nullable` annotations for world parameters. Improved null-handling logic for enhanced API clarity and consistency.
Updated method signatures in `BankController`, `WrappedBank`, and `BankServiceWrapper` to include `@Nullable` annotations for world parameters. Simplified null-handling logic to ensure consistent behavior across the API.
Updated method signatures in `ChatController`, `ChatServiceWrapper`, and related providers to include `@Nullable` annotations for world parameters. Simplified null-handling logic to ensure consistency across the chat API. Removed redundant `@NullMarked` annotations for clarity.
Updated method signatures in `GroupController`, `GroupManagerGroupController`, and `LuckPermsGroupController` to include `@Nullable` annotations for world parameters. Streamlined null-handling logic across the group API for consistency and clarity. Removed redundant `@NullMarked` annotations.
Simplified codebase by removing unused `@NullMarked` annotations from API classes. Improved consistency by relying on module-level null-safety declarations.
Updated method signatures and equality checks across multiple providers to include `@Nullable` annotations. Converted `SuperPermsPermissionController` to a record for simplification and improved consistency.
@NonSwag NonSwag self-assigned this Mar 22, 2026
@NonSwag NonSwag merged commit e7c582c into main Mar 22, 2026
2 checks passed
@NonSwag NonSwag deleted the refactor/simplification branch March 22, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant