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

Replace .indexOf with more specific methods #1097

Merged
merged 4 commits into from
Aug 7, 2020
Merged

Conversation

jaller94
Copy link
Contributor

@jaller94 jaller94 commented Aug 5, 2020

I would like to replace .indexOf() with .startsWith() and .includes() where that's the intended logic.

@jaller94 jaller94 changed the base branch from master to develop August 5, 2020 10:49
@jaller94 jaller94 changed the title Make sure a killed BridgedClient is dead, even if connect was never called (continuation) Replace .indexOf with more specific methods Aug 5, 2020
@jaller94 jaller94 changed the title Replace .indexOf with more specific methods WIP: Replace .indexOf with more specific methods Aug 5, 2020
@Half-Shot
Copy link
Contributor

@jaller94 could you detangle this from it's parent PR?

@jaller94 jaller94 requested a review from a team August 7, 2020 13:28
@jaller94 jaller94 changed the title WIP: Replace .indexOf with more specific methods Replace .indexOf with more specific methods Aug 7, 2020
Copy link
Contributor

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

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

Nice bit of refactoring. 👍

@jaller94 jaller94 merged commit 2e8e61e into develop Aug 7, 2020
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.

None yet

2 participants