From 1005fc604b065741a67684d89396a9f6ec614c77 Mon Sep 17 00:00:00 2001 From: Hammy Date: Fri, 18 Dec 2020 13:43:54 +0000 Subject: [PATCH] Sleep Thread for Less Time --- Design Patterns/src/state/atm/with/singleton/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Design Patterns/src/state/atm/with/singleton/Main.java b/Design Patterns/src/state/atm/with/singleton/Main.java index 388f521..abd21f9 100644 --- a/Design Patterns/src/state/atm/with/singleton/Main.java +++ b/Design Patterns/src/state/atm/with/singleton/Main.java @@ -6,7 +6,7 @@ public class Main { ATMMachine atmMachine = new ATMMachine(); atmMachine.setCashInMachine(200); - sleep(1000); + sleep(500); atmMachine.insertCard(); atmMachine.ejectCard();