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/02/21 11:42:53 UTC
[isis] branch master updated: ISIS-2294: remove debug lines
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 0453791 ISIS-2294: remove debug lines
0453791 is described below
commit 045379109a454d9c070b8b03e1424e39d0ecea2c
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Feb 21 12:42:42 2020 +0100
ISIS-2294: remove debug lines
---
.../runtime/persistence/transaction/ChangedObjectsService.java | 7 -------
1 file changed, 7 deletions(-)
diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/persistence/transaction/ChangedObjectsService.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/persistence/transaction/ChangedObjectsService.java
index 5c60011..85a28a0 100644
--- a/core/runtime/src/main/java/org/apache/isis/core/runtime/persistence/transaction/ChangedObjectsService.java
+++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/persistence/transaction/ChangedObjectsService.java
@@ -240,13 +240,6 @@ public class ChangedObjectsService implements WithTransactionScope {
}
protected boolean shouldIgnore(final ManagedObject adapter) {
-
- if(adapter.getPojo()==null) {
- throw _Exceptions.illegalArgument("!!! cannot reference null");
- }
-
- System.out.println("enlist " + Integer.toHexString(adapter.hashCode()));
-
final ObjectSpecification adapterSpec = adapter.getSpecification();
final Class<?> adapterClass = adapterSpec.getCorrespondingClass();
return HasUniqueId.class.isAssignableFrom(adapterClass);