v0.0.8
CI/CD / build-deploy (pull_request) Failing after 12s

This commit is contained in:
Timi
2026-09-01 12:26:35 +08:00
parent 02a13377bc
commit 3669d69c47
2 changed files with 7 additions and 1 deletions
@@ -4,6 +4,7 @@ import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
/**
@@ -188,4 +189,9 @@ public interface TimiJava {
static <T> Iterable<T> safeIterable(Iterable<T> iterable) {
return defaultIfNull(iterable, Collections::emptyIterator);
}
@SafeVarargs
static <T> List<T> ofList(T... objs) {
return objs == null ? List.of() : List.of(objs);
}
}