Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS-209 Catch IllegalStateException when saving highlights and cpd tokens #4746

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

vdiez
Copy link
Contributor

@vdiez vdiez commented Jun 21, 2024

Seems illegal state is used for overlapping, and illegal argument for invalid offsets.

We need to catch both

Fixes https://sonarsource.atlassian.net/browse/JS-209

Copy link

sonarqube-next bot commented Jun 21, 2024

@vdiez vdiez changed the title Catch IllegalStateException when saving highlights and cpd tokens JS-209 Catch IllegalStateException when saving highlights and cpd tokens Jun 21, 2024
@saberduck saberduck merged commit 4df23d0 into master Jun 21, 2024
16 of 17 checks passed
@saberduck saberduck deleted the catch-illegal-state branch June 21, 2024 15:30
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