From 3c85ccb2eb81575ea56d78d16e1c88f80246a37c Mon Sep 17 00:00:00 2001 From: schrom01 Date: Mon, 17 Oct 2022 21:29:16 +0200 Subject: [PATCH] code Cleanup --- src/ch/zhaw/ads/HanoiServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/zhaw/ads/HanoiServer.java b/src/ch/zhaw/ads/HanoiServer.java index a4752a3..500d463 100644 --- a/src/ch/zhaw/ads/HanoiServer.java +++ b/src/ch/zhaw/ads/HanoiServer.java @@ -11,7 +11,7 @@ public class HanoiServer implements CommandExecutor { } else if (n > 1) { moveDisk(n - 1, from, help, to, result); result.append("Lege die oberste Scheibe von Turm " + from + " auf Turm " + to + "\n"); - moveDisk(n-1, help, to, from, result); + moveDisk(n - 1, help, to, from, result); } }