yegor256 / cactoos

Object-Oriented Java primitives, as an alternative to Google Guava and Apache Commons
https://www.cactoos.org
MIT License
737 stars 163 forks source link

String vs CharSequence inconsitencies #1579

Closed andreoss closed 3 years ago

andreoss commented 3 years ago

TextOf uses CharSequence as parameter, but many other implementations of Text use only String.

Proposal: Interface CharSequence should be favored as a parameter type instead of final class String.

victornoel commented 3 years ago

@andreoss that's a great idea

victornoel commented 3 years ago

@0crat in

andreoss commented 3 years ago

Done in #1582

0crat commented 3 years ago

Job gh:yegor256/cactoos#1579 is not assigned, can't get performer