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/05/28 16:47:05 UTC
[isis] branch master updated: ISIS-2706: fix copy paste error
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 d0be098 ISIS-2706: fix copy paste error
d0be098 is described below
commit d0be098feef1c4e7f9159c4c857bdf1ba39a90c1
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri May 28 18:46:55 2021 +0200
ISIS-2706: fix copy paste error
---
.../org/apache/isis/applib/services/repository/EntityState.java | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/repository/EntityState.java b/api/applib/src/main/java/org/apache/isis/applib/services/repository/EntityState.java
index 03a23de..1da3462 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/repository/EntityState.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/repository/EntityState.java
@@ -83,13 +83,19 @@ public enum EntityState {
return this == PERSISTABLE_REMOVED;
}
+ /**
+ * @apiNote 'removed' is only supported by JDO.
+ */
public boolean isDetachedOrRemoved() {
return this == PERSISTABLE_REMOVED
|| this == PERSISTABLE_DETACHED;
}
+ /**
+ * @apiNote 'removed' is only supported by JDO.
+ */
public boolean isAttachedOrRemoved() {
- return this == PERSISTABLE_REMOVED
+ return this == PERSISTABLE_ATTACHED
|| this == PERSISTABLE_REMOVED;
}