Skip to content

Make LICENSE_ID_PATTERN_GENERATED final#435

Open
bact wants to merge 1 commit into
spdx:masterfrom
bact:fix/license-id-pattern-final
Open

Make LICENSE_ID_PATTERN_GENERATED final#435
bact wants to merge 1 commit into
spdx:masterfrom
bact:fix/license-id-pattern-final

Conversation

@bact

@bact bact commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator
  • InMemSpdxStore.LICENSE_ID_PATTERN_GENERATED is a public static Pattern that is never reassigned after initialization
  • Marks it final, fixing SpotBugs MS_SHOULD_BE_FINAL (one of the 4 pre-existing findings surfaced by Add SpotBugs analysis check #434)

Fixes SpotBugs MS_SHOULD_BE_FINAL: the field is a public static Pattern
that is never reassigned after initialization, so it should be final.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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