Using Collection.isEmpty() to test for emptiness

This commit is contained in:
Artyom Melnikov
2016-06-14 15:21:23 +03:00
parent a64a020e36
commit 07edb2c81f
10 changed files with 14 additions and 14 deletions
@@ -198,7 +198,7 @@ public class OrmQueryDetail implements Serializable {
}
}
if (matchingPaths.size() == 0) {
if (matchingPaths.isEmpty()) {
return null;
}