Update EntryPoint.java

This commit is contained in:
Yiğit 2024-01-15 17:48:43 +03:00 committed by GitHub
parent 5af55f3b2f
commit 5e6f43e80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ public final class EntryPoint {
} }
private static void setFieldValue(String name, Object value) { private static void setFieldValue(String name, Object value) {
if (name == null value == null name.isEmpty()) return; if (name == null || value == null || name.isEmpty()) return;
if (value instanceof String str) if (str.isEmpty() || str.isBlank()) return; if (value instanceof String str) if (str.isEmpty() || str.isBlank()) return;