Skip to content

CDOM: mark CNAbility + CNAbilitySelection final (CT_CONSTRUCTOR_THROW)#7635

Open
Vest wants to merge 1 commit into
PCGen:masterfrom
Vest:spotbugs-final-cnability
Open

CDOM: mark CNAbility + CNAbilitySelection final (CT_CONSTRUCTOR_THROW)#7635
Vest wants to merge 1 commit into
PCGen:masterfrom
Vest:spotbugs-final-cnability

Conversation

@Vest

@Vest Vest commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Same shape as PR #7627, which marked 20 leaf classes final to silence SpotBugs CT_CONSTRUCTOR_THROW. These two classes escaped that PR's net.

Verified via grep that no subclasses exist in code/src/{java,test,itest,slowtest}; the only matches for "extends CNAbility" / "extends CNAbilitySelection" are <? extends ...> generic wildcards, not class inheritance.

SpotBugs XML delta confirms exactly 3 CT_CONSTRUCTOR_THROW findings cleared (CNAbility one constructor, CNAbilitySelection two constructors), 0 new findings.

Same shape as PR PCGen#7627, which marked 20 leaf classes final to silence
SpotBugs CT_CONSTRUCTOR_THROW. These two classes escaped that PR's net.

Verified via grep that no subclasses exist in code/src/{java,test,itest,slowtest};
the only matches for "extends CNAbility" / "extends CNAbilitySelection"
are `<? extends ...>` generic wildcards, not class inheritance.

SpotBugs XML delta confirms exactly 3 CT_CONSTRUCTOR_THROW findings cleared
(CNAbility one constructor, CNAbilitySelection two constructors), 0 new
findings.
@Vest Vest marked this pull request as ready for review June 25, 2026 19:39
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