Fixing squid:S1155 - Collection.isEmpty() should be used to test for emptiness

This commit is contained in:
Artyom Melnikov committed 2016-06-22 13:43:15 +03:00
1 parent a64a020e36
commit 0a3b819991
66 files changed
+92 -92

No files matched your search

@@ -33,7 +33,7 @@ public final class SortByClauseParser {
}
private Property parseSection(String section) {
if (section.length() == 0) {
if (section.isEmpty()) {
return null;
}
String[] words = section.split(" ");