okaywit / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Use String#isEmpty #1443

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As Guava requires Java 6 since a while, the implementation of 
Strings#isNullOrEmpty¹ can now be updated to use String#isEmpty instead of 
`"foo".length() == 0`.

¹) 
http://code.google.com/p/guava-libraries/source/browse/guava/src/com/google/comm
on/base/Strings.java#75

Original issue reported on code.google.com by j...@nwsnet.de on 11 Jun 2013 at 9:39

GoogleCodeExporter commented 9 years ago
Thanks...we might actually just leave it like this because it's one less thing 
we have to remember to do when releasing the JDK5 backport. Kind of silly but...

Original comment by kurt.kluever on 11 Jun 2013 at 6:39

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08