You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/11/21 13:46:23 UTC
[isis] branch master updated: Bump Spring Boot from 2.5.6 to 2.6.0 (3)
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 10198a7 Bump Spring Boot from 2.5.6 to 2.6.0 (3)
10198a7 is described below
commit 10198a7edf2252e817273c23a349926b302b3ebd
Author: andi-huber <ah...@apache.org>
AuthorDate: Sun Nov 21 14:46:14 2021 +0100
Bump Spring Boot from 2.5.6 to 2.6.0 (3)
- fixes NPE
---
.../runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java
index 6b3ea7e..6dfcc39 100644
--- a/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java
+++ b/core/runtimeservices/src/main/java/org/apache/isis/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java
@@ -626,7 +626,7 @@ extends DelegatingInvocationHandlerDefault<T> {
}
private void zeroArgsElseThrow(final Object[] args, final String name) {
- if (args.length != 0) {
+ if (!_NullSafe.isEmpty(args)) {
throw new IllegalArgumentException(String.format(
"Invoking '%s' should have no arguments", name));
}