mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
Changed redundant conditional check.
This commit is contained in:
parent
46618222cc
commit
006ecb4f62
@ -47,7 +47,7 @@ public final class ArrayUtils {
|
||||
}
|
||||
|
||||
public static boolean isEmpty(Object[] array) {
|
||||
return array == null ? true : array.length == 0;
|
||||
return array == null || array.length == 0;
|
||||
}
|
||||
|
||||
private ArrayUtils() {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user