Skip to content

Remove unused call to String#replaceAll(). - #546

Merged
headius merged 1 commit into
jruby:masterfrom
pmahoney:string-no-op
Feb 26, 2013
Merged

Remove unused call to String#replaceAll().#546
headius merged 1 commit into
jruby:masterfrom
pmahoney:string-no-op

Conversation

@pmahoney

Copy link
Copy Markdown
Contributor

Not sure this replaceAll should be used, or if it's just a stray.

@enebo

enebo commented Feb 25, 2013

Copy link
Copy Markdown
Member

Wow entertaining. We must be too used to Ruby Strings :)

The real question I have about this is why this was there in the first place. We clearly have no coverage for this code but should it be fixed or removed?

@headius

headius commented Feb 26, 2013

Copy link
Copy Markdown
Member

Yeah, this line obviously does nothing. I'm looking to see whether its intended purpose is needed, but removing it is not a problem.

headius added a commit that referenced this pull request Feb 26, 2013
Remove unused call to `String#replaceAll()`.
@headius
headius merged commit 0001ac3 into jruby:master Feb 26, 2013
@pmahoney
pmahoney deleted the string-no-op branch February 27, 2013 15:40
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