Commit 19787b52 by 高鹏

Merge branch 'hzk' into 'master'

修改字符比较器

See merge request rays/pcloud-common-parent!9
parents 53481fb6 5c799b58
...@@ -69,6 +69,9 @@ public class StringComparator implements Comparator<String> { ...@@ -69,6 +69,9 @@ public class StringComparator implements Comparator<String> {
return hexStr1.compareTo(hexStr2); return hexStr1.compareTo(hexStr2);
} }
} }
if(str1.length() < str2.length()){
return -1;
}
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment