From 027a97aaae16fc3fdc4c92543fc4e579dd161b25 Mon Sep 17 00:00:00 2001 From: Hammy Date: Mon, 21 Dec 2020 17:13:48 +0000 Subject: [PATCH] Refactor Code --- Design Patterns/src/state/atm/with/singleton/ATMMachine.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Design Patterns/src/state/atm/with/singleton/ATMMachine.java b/Design Patterns/src/state/atm/with/singleton/ATMMachine.java index dbfc3f1..430c06b 100644 --- a/Design Patterns/src/state/atm/with/singleton/ATMMachine.java +++ b/Design Patterns/src/state/atm/with/singleton/ATMMachine.java @@ -38,10 +38,6 @@ public class ATMMachine { return atmState; } - public void setAtmState(ATMState atmState) { - this.atmState = atmState; - } - public int getCashInMachine() { return cashInMachine; }