Skip to content

refactor(Joiner): rename internal toString helper to toCharSequence#8519

Open
Derylfabiensyah wants to merge 1 commit into
google:masterfrom
Derylfabiensyah:refactor/joiner-rename-tostring-helper
Open

refactor(Joiner): rename internal toString helper to toCharSequence#8519
Derylfabiensyah wants to merge 1 commit into
google:masterfrom
Derylfabiensyah:refactor/joiner-rename-tostring-helper

Conversation

@Derylfabiensyah

Copy link
Copy Markdown

Renamed the package-private helper method toString(Object) to toCharSequence(Object) in Joiner.java to resolve cpovirk's TODO.

This clarifies the return type (CharSequence) and avoids shadowing the standard Object.toString() signature for internal calls. Both the standard and Android version source trees have been updated.

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.

1 participant