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/15 13:50:13 UTC
[isis] branch master updated: ISIS-2893: cleanup prev. commit (2)
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 ee1d0d2 ISIS-2893: cleanup prev. commit (2)
ee1d0d2 is described below
commit ee1d0d2eb9c153ba4fd1847135f29bc2b07cbf1f
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Nov 15 14:50:01 2021 +0100
ISIS-2893: cleanup prev. commit (2)
- flipped logic
---
.../core/metamodel/facets/actions/action/invocation/CommandUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/invocation/CommandUtil.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/invocation/CommandUtil.java
index c3eea9e..bf54c65 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/invocation/CommandUtil.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/invocation/CommandUtil.java
@@ -86,7 +86,7 @@ public class CommandUtil {
final @Nullable Command command,
final @Nullable ObjectMember objectMember) {
return command!=null
- && objectMember==null
+ && objectMember!=null
&& logicalMemberIdentifierFor(objectMember)
.equals(command.getLogicalMemberIdentifier());
}