From f077691c4750eccd87bdbbb8953a44a9c3782ddd Mon Sep 17 00:00:00 2001 From: delvh Date: Thu, 1 Oct 2020 09:39:56 +0200 Subject: [PATCH] Apply suggestions from @kske 2 --- .../envoy/client/data/commands/Callable.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/client/src/main/java/envoy/client/data/commands/Callable.java b/client/src/main/java/envoy/client/data/commands/Callable.java index ebd843d..cd8c146 100644 --- a/client/src/main/java/envoy/client/data/commands/Callable.java +++ b/client/src/main/java/envoy/client/data/commands/Callable.java @@ -20,20 +20,4 @@ public interface Callable { * @since Envoy Client v0.2-beta */ void call(List arguments); - - /** - * Performs the instance specific action when a {@link SystemCommand} has been - * called and additionally enables the user to execute his own action once it - * has been called. - * - * @param arguments the arguments that should be passed to the - * {@link SystemCommand} - * @param additionalAction the action to perform when this system command has - * been called - * @since Envoy Client v0.2-beta - */ - default void call(List arguments, Runnable additionalAction) { - call(arguments); - additionalAction.run(); - } }