Skip to content

Auto-refactor assorted Java lint#2989

Open
labkey-jeckels wants to merge 2 commits intodevelopfrom
fb_lintCleanup
Open

Auto-refactor assorted Java lint#2989
labkey-jeckels wants to merge 2 commits intodevelopfrom
fb_lintCleanup

Conversation

@labkey-jeckels
Copy link
Copy Markdown
Contributor

Rationale

Warnings can cover up important code quality issues.

Related Pull Requests

Changes

  • SequencedCollections: get(0) -> getFirst(), etc
  • Add missing @NotNull/@Nullable
  • Simplify test assertions
  • Map operation simplification
  • Remove redundant throws clause
  • Switch to parameterized log message
  • C-style array -> Java-style array declaration
  • Delete overridden methods identical to parent
  • Switch statement -> enhanced switch statement
  • Remove redundant imports

SequencedCollections: get(0) -> getFirst(), etc
Add missing @NotNull/@nullable
Simplify test assertions
Map operation simplification
Remove redundant throws clause
Switch to parameterized log message
C-style array -> Java-style array declaration
Delete overridden methods identical to parent
Switch statement -> enhanced switch statement
Remove redundant imports
@labkey-jeckels labkey-jeckels requested a review from a team May 10, 2026 15:59
@labkey-jeckels labkey-jeckels self-assigned this May 10, 2026
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