Skip to content

Commit 672c409

Browse files
committed
checkstyle
1 parent 3075f5d commit 672c409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ezydata-jpa/src/main/java/com/tvd12/ezydata/jpa/repository/EzyJpaRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public boolean containsByField(String field, Object value) {
282282
} finally {
283283
entityManager.close();
284284
}
285-
return resultList.size() > 0;
285+
return !resultList.isEmpty();
286286
}
287287

288288
@Override

0 commit comments

Comments
 (0)