Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public ThrowableProxy(Throwable throwable, Set<Throwable> alreadyProcessedSet) {
Throwable[] throwableSuppressed = throwable.getSuppressed();
// while JDK's implementation of getSuppressed() will always return a non-null array,
// this might not be the case in mocked throwables. We are being extra defensive here.
if (OptionHelper.isNotEmtpy(throwableSuppressed)) {
if (OptionHelper.isNotEmpty(throwableSuppressed)) {
List<ThrowableProxy> suppressedList = new ArrayList<>(throwableSuppressed.length);
for (Throwable sup : throwableSuppressed) {
if (alreadyProcessedSet.contains(sup)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ final public static boolean isNullOrEmpty(Object[] array) {
return false;
}

final public static boolean isNotEmtpy(Object[] array) {
final public static boolean isNotEmpty(Object[] array) {
return !isNullOrEmpty(array);
}
}