From c7dc7ed292b1f17eab5df6dfc26ca29a592f9555 Mon Sep 17 00:00:00 2001 From: Alwyn Schoeman Date: Thu, 5 Mar 2020 16:18:48 -0500 Subject: [PATCH] Heartbeat method getDetail made protected so that derived classes can add information --- modules/status/src/main/java/org/jpos/ee/status/Heartbeat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/status/src/main/java/org/jpos/ee/status/Heartbeat.java b/modules/status/src/main/java/org/jpos/ee/status/Heartbeat.java index 0fe1cbdd54..0b3057197f 100644 --- a/modules/status/src/main/java/org/jpos/ee/status/Heartbeat.java +++ b/modules/status/src/main/java/org/jpos/ee/status/Heartbeat.java @@ -67,7 +67,7 @@ private void close() { getLog().error (e); } } - private String getDetail (long start, int tick) { + protected String getDetail (long start, int tick) { Runtime r = Runtime.getRuntime(); StringBuffer sb = new StringBuffer(); sb.append ("memory=");