Skip to content

REFACT: Removed validation repetition#274

Merged
carlwilson merged 2 commits intoalpha/1.20from
maint/remove-repetition
Dec 9, 2025
Merged

REFACT: Removed validation repetition#274
carlwilson merged 2 commits intoalpha/1.20from
maint/remove-repetition

Conversation

@carlwilson
Copy link
Member

  • removed validateParseResult method from OdfValidatorImpl;
  • added org.openpreservation.odf.validation.OdfXmlValidator class to handle XML validation more explicitly; and
  • used new XML validator class instead.

- removed `validateParseResult` method from `OdfValidatorImpl`;
- added `org.openpreservation.odf.validation.OdfXmlValidator` class to handle XML validation more explicitly; and
- used new XML validator class instead.
@carlwilson carlwilson self-assigned this Dec 9, 2025
@carlwilson carlwilson added the enhancement New feature or request label Dec 9, 2025
- combined if statements; and
- avoided parameter assignment.
@carlwilson carlwilson merged commit ed28338 into alpha/1.20 Dec 9, 2025
5 checks passed
@carlwilson carlwilson deleted the maint/remove-repetition branch December 10, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant