From 14c0e48a88173ab73082d50e6101afcf8623a7f9 Mon Sep 17 00:00:00 2001 From: ArturJarosz <45771947+ArturJarosz@users.noreply.github.com> Date: Sun, 2 Oct 2022 23:41:17 +0200 Subject: [PATCH] Remove unused Algorithm interface After changes in commit 0edda160671ea991224c81422a8ec7a2d2049322 interface Algorithm was no longer implemented anywhere in there code, therefore can be safely removed. --- patterns/chain/ChainOfResponsibility.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/patterns/chain/ChainOfResponsibility.java b/patterns/chain/ChainOfResponsibility.java index b291c3e00..20820bb5a 100644 --- a/patterns/chain/ChainOfResponsibility.java +++ b/patterns/chain/ChainOfResponsibility.java @@ -7,10 +7,6 @@ import java.util.*; import java.util.function.*; -interface Algorithm { - Result algorithm(List line); -} - class FindMinima { public static Result test( boolean success, String id, double d1, double d2) {