Skip to content

Comments

Ensure consistent XML parser config#2890

Merged
labkey-jeckels merged 1 commit intodevelopfrom
fb_xmlConfig
Feb 20, 2026
Merged

Ensure consistent XML parser config#2890
labkey-jeckels merged 1 commit intodevelopfrom
fb_xmlConfig

Conversation

@labkey-jeckels
Copy link
Contributor

Rationale

We want to be using our centrally defined XML parser configuration

Related Pull Requests

Changes

  • Use preconfigured XML factories
  • Minor cleanup

@labkey-jeckels labkey-jeckels requested a review from a team February 20, 2026 02:50
@labkey-jeckels labkey-jeckels self-assigned this Feb 20, 2026
@labkey-jeckels labkey-jeckels requested review from labkey-danield and removed request for a team February 20, 2026 02:50
{
String directory = file.substring(0, file.lastIndexOf("/") + 1);
String fileName = file.substring(file.lastIndexOf("/") + 1, file.length());
String fileName = file.substring(file.lastIndexOf("/") + 1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Was the file.lenght() parameter removed because it was redundant / not needed?
I'm fine with it, I just want to make sure I'm not missing something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, it's not needed. IntelliJ suggested it to clean up lint. If you look at String.substring(int), you'll see that it just calls the two-arg version with length() as the second argument.

@labkey-jeckels labkey-jeckels merged commit 84b07f8 into develop Feb 20, 2026
8 checks passed
@labkey-jeckels labkey-jeckels deleted the fb_xmlConfig branch February 20, 2026 17:08
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