From df7145a441575deb4c415dc8adae62a4afcb4625 Mon Sep 17 00:00:00 2001 From: Connor Date: Wed, 20 Nov 2024 05:19:48 -0500 Subject: [PATCH 1/2] add debug message when seeting the form in CoordinationPlace --- src/main/java/emissary/place/CoordinationPlace.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/emissary/place/CoordinationPlace.java b/src/main/java/emissary/place/CoordinationPlace.java index 7d4b42f7a7..64bb28ea81 100755 --- a/src/main/java/emissary/place/CoordinationPlace.java +++ b/src/main/java/emissary/place/CoordinationPlace.java @@ -322,6 +322,10 @@ protected void applyOutputForm(IBaseDataObject d) { if (pushForm) { d.pushCurrentForm(outputForm); } else { + + if (logger.isDebugEnabled()) { + logger.debug("Object has {} number of forms in the Stack. CoordinationPlace Setting top form from {} to {}", d.currentFormSize(), d.currentForm(), outputForm); + } d.setCurrentForm(outputForm); } } From f6de88ab3c37c5dffb0700674563005138fc63cb Mon Sep 17 00:00:00 2001 From: Connor Date: Wed, 20 Nov 2024 05:23:39 -0500 Subject: [PATCH 2/2] fix format --- src/main/java/emissary/place/CoordinationPlace.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emissary/place/CoordinationPlace.java b/src/main/java/emissary/place/CoordinationPlace.java index 64bb28ea81..b90607d1ed 100755 --- a/src/main/java/emissary/place/CoordinationPlace.java +++ b/src/main/java/emissary/place/CoordinationPlace.java @@ -322,9 +322,9 @@ protected void applyOutputForm(IBaseDataObject d) { if (pushForm) { d.pushCurrentForm(outputForm); } else { - if (logger.isDebugEnabled()) { - logger.debug("Object has {} number of forms in the Stack. CoordinationPlace Setting top form from {} to {}", d.currentFormSize(), d.currentForm(), outputForm); + logger.debug("Object has {} number of forms in the Stack. CoordinationPlace Setting top form from {} to {}", d.currentFormSize(), + d.currentForm(), outputForm); } d.setCurrentForm(outputForm); }