Skip to content

Make LICENSE_ID_PATTERN_GENERATED final#435

Merged
goneall merged 1 commit into
spdx:masterfrom
bact:fix/license-id-pattern-final
Jul 19, 2026
Merged

Make LICENSE_ID_PATTERN_GENERATED final#435
goneall merged 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>

@goneall goneall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@goneall
goneall merged commit b27a505 into spdx:master Jul 19, 2026
1 check passed
@bact
bact deleted the fix/license-id-pattern-final branch July 19, 2026 06:53
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.

2 participants