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 2018/09/07 08:01:07 UTC

[isis] branch ISIS-1976-rethink-object-adapters updated: # WARNING: head commit changed in the meantime

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch ISIS-1976-rethink-object-adapters
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/ISIS-1976-rethink-object-adapters by this push:
     new 2aa55b4  # WARNING: head commit changed in the meantime
2aa55b4 is described below

commit 2aa55b4a5b8dd270500a474d003ae4d35bc32b8d
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Sep 7 10:00:59 2018 +0200

    # WARNING: head commit changed in the meantime
    
    ISIS-1934: Menu Action Confirmation Dialog does not escape menu
    boundaries
    
    Task-Url: https://issues.apache.org/jira/browse/ISIS-1934
---
 .../persistence/adaptermanager/ObjectAdapterContext.java       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/adaptermanager/ObjectAdapterContext.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/adaptermanager/ObjectAdapterContext.java
index 3f43ace..60329a9 100644
--- a/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/adaptermanager/ObjectAdapterContext.java
+++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/adaptermanager/ObjectAdapterContext.java
@@ -171,10 +171,12 @@ public class ObjectAdapterContext {
     // -- DEBUG
     
     void printContextInfo(String msg) {
-        String id = Integer.toHexString(this.hashCode());
-        String session = ""+persistenceSession;
-        System.out.println("!!!!!!!!!!!!!!!!!!!!!!! "+String.format("%s id=%s session='%s'", 
-                msg, id, session));
+        if(LOG.isDebugEnabled()) {
+            String id = Integer.toHexString(this.hashCode());
+            String session = ""+persistenceSession;
+            System.out.println("!!!!!!!!!!!!!!!!!!!!!!! "+String.format("%s id=%s session='%s'", 
+                    msg, id, session));
+        }
     }
     
     // -- LIFE-CYCLING