Update comment for compareToIgnoreCaseNullable().
Bug: 27286016 Change-Id: I0ff4d59e24e8afe129aa8a2921d3de71d3df7236
This commit is contained in:
@@ -133,8 +133,7 @@ public final class Shared {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Compare two strings against each other using system default collator in a
|
* Compare two strings against each other using system default collator in a
|
||||||
* case-insensitive mode. Clusters strings prefixed with {@link DIR_PREFIX}
|
* case-insensitive mode.
|
||||||
* before other items.
|
|
||||||
*/
|
*/
|
||||||
public static int compareToIgnoreCaseNullable(String lhs, String rhs) {
|
public static int compareToIgnoreCaseNullable(String lhs, String rhs) {
|
||||||
final boolean leftEmpty = TextUtils.isEmpty(lhs);
|
final boolean leftEmpty = TextUtils.isEmpty(lhs);
|
||||||
|
|||||||
Reference in New Issue
Block a user