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 2020/05/05 07:24:02 UTC
[isis] branch master updated: ISIS-2340: fix previous commit (got
the predicates wrong)
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 8086f30 ISIS-2340: fix previous commit (got the predicates wrong)
8086f30 is described below
commit 8086f30a93e6740d2ef9cf49c11f5362269e7678
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue May 5 09:23:48 2020 +0200
ISIS-2340: fix previous commit (got the predicates wrong)
---
.../java/org/apache/isis/core/metamodel/spec/ObjectSpecification.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/spec/ObjectSpecification.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/spec/ObjectSpecification.java
index ef3f7b8..00c53ac 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/spec/ObjectSpecification.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/spec/ObjectSpecification.java
@@ -484,11 +484,11 @@ public interface ObjectSpecification extends Specification, ObjectActionContaine
val elementSpec = getElementSpecification().get();
- return _NullSafe.streamAutodetect(pojo)
+ return !_NullSafe.streamAutodetect(pojo)
.anyMatch(_Predicates.not(elementSpec::isPojoCompatible));
}
- return true;
+ return false;
}