From 76882508a8148d1079b63ceb3251b59130153f78 Mon Sep 17 00:00:00 2001 From: Arabelle Hou Date: Fri, 11 Jan 2019 14:38:55 -0800 Subject: [PATCH] Revert private method for inheritance (#30) Make shutdown logic accessible to classes that inherit this class. --- src/main/java/com/salesforce/mirus/MirusSourceTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/salesforce/mirus/MirusSourceTask.java b/src/main/java/com/salesforce/mirus/MirusSourceTask.java index 2e7408c..4ef05d0 100644 --- a/src/main/java/com/salesforce/mirus/MirusSourceTask.java +++ b/src/main/java/com/salesforce/mirus/MirusSourceTask.java @@ -121,7 +121,7 @@ public void stop() { } } - private void shutDownTask() { + protected void shutDownTask() { logger.debug("Task shutting down"); consumer.close(); }