Skip to content

delete some unused UCD code#1436

Merged
echeran merged 1 commit into
unicode-org:mainfrom
markusicu:delete-some-UCD
Jun 5, 2026
Merged

delete some unused UCD code#1436
echeran merged 1 commit into
unicode-org:mainfrom
markusicu:delete-some-UCD

Conversation

@markusicu

@markusicu markusicu commented Jun 5, 2026

Copy link
Copy Markdown
Member

Towards

}
} catch (final ArrayIndexOutOfBoundsException e) {
continue;
// continue;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So this was working around an error before? If so and it’s no longer being worked around, I would argue in favor of removing the try block entirely.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I didn't take a good look at this. It was and is catching/ignoring an exception.

IntelliJ shows lots of warnings and suggestions, and I chose to not ignore this one where it complained that the "continue" was redundant -- the loop continues anyway. I commented it out to keep the intent visible. IntelliJ is microscopically happier...

@markusicu markusicu requested a review from nedley June 5, 2026 18:45
@echeran echeran merged commit eac8de1 into unicode-org:main Jun 5, 2026
23 checks passed
@markusicu markusicu deleted the delete-some-UCD branch June 5, 2026 21:35
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.

3 participants