Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Won't Fix
-
Affects Version/s: 13
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
Description
The idiom "".equals(str) could be more efficient if replaced with a usage
that can uses String.isEmpty.
Check for null is important and there might be reason to create a utility method for the purpose.
that can uses String.isEmpty.
Check for null is important and there might be reason to create a utility method for the purpose.
Attachments
Issue Links
- relates to
-
JDK-8214971 Replace use of string.equals("") with isEmpty()
-
- Resolved
-