Skip to content

Preserve inherited properties without local entries - #1087

Open
PHJ2000 wants to merge 1 commit into
stleary:masterfrom
PHJ2000:fix-properties-defaults-only
Open

PHJ2000 wants to merge 1 commit into
stleary:masterfrom
PHJ2000:fix-properties-defaults-only

Conversation

@PHJ2000

@PHJ2000 PHJ2000 commented Oct 5, 2026

Copy link
Copy Markdown

Remove the isEmpty() guard before enumerating Properties. Defaults are visible through propertyNames() and getProperty() even when there are no local entries.

Adds coverage for inherited defaults and local overrides. Maven clean verify passes with deployment signing disabled (-Dgpg.skip=true): 811 tests, 6 skipped.

Fixes #1086.

@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Property.toJSONObject drops defaults when there are no local entries

2 participants