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

Fix MentionsEditable#trim #116

Merged
merged 2 commits into from
Feb 23, 2021
Merged

Fix MentionsEditable#trim #116

merged 2 commits into from
Feb 23, 2021

Conversation

hbhonsle1
Copy link
Contributor

This fixes the IndexOutOfBoundsException we are seeing caused from the same root cause as what was happening before with replace. More details here: #105 (comment).

Copy link
Contributor

@nhibner nhibner left a comment

Choose a reason for hiding this comment

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

Huh, this is a pretty weird crash. I'm not entirely sure this is related to #105, but the code change in general looks like an improvement (yay better defensive coding), so let's go with it.

…MentionsEditable.java

Co-authored-by: Nathan Hibner <nhibner@users.noreply.github.com>
@nhibner nhibner merged commit 37c2cbd into linkedin:master Feb 23, 2021
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