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 2019/01/23 10:28:15 UTC

[isis] branch v2 updated: ISIS-2033: fixes _Probe.println printed count when exiting

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

ahuber pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/v2 by this push:
     new 1f5f5f3  ISIS-2033: fixes _Probe.println printed count when exiting
1f5f5f3 is described below

commit 1f5f5f3e44f6ff187adb85d3283524985606b600
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Jan 23 11:28:08 2019 +0100

    ISIS-2033: fixes _Probe.println printed count when exiting
---
 .../src/main/java/org/apache/isis/commons/internal/debug/_Probe.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/commons/src/main/java/org/apache/isis/commons/internal/debug/_Probe.java b/core/commons/src/main/java/org/apache/isis/commons/internal/debug/_Probe.java
index ce98995..cd56a2e 100644
--- a/core/commons/src/main/java/org/apache/isis/commons/internal/debug/_Probe.java
+++ b/core/commons/src/main/java/org/apache/isis/commons/internal/debug/_Probe.java
@@ -125,10 +125,12 @@ public class _Probe {
         case IGNORE:
             return;
         case SYSTEM_EXIT:
+            counter.increment();
             print_line(indent, chars);
             System.exit(0);
             return;
         case SYSTEM_EXIT_WITH_STACKTRACE:
+            counter.increment();
             print_line(indent, chars);
             _Exceptions.dumpStackTrace(out, 0, 1000);
             System.exit(0);