From 79c516f4f445b2b71ab0bd564cf1cbf008b09569 Mon Sep 17 00:00:00 2001 From: Sandro Leuchter Date: Wed, 16 Oct 2024 23:20:23 +0200 Subject: [PATCH] N/A --- src/pp.02.03-Lock/src/main/java/pp/Factory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pp.02.03-Lock/src/main/java/pp/Factory.java b/src/pp.02.03-Lock/src/main/java/pp/Factory.java index aa9f3b8..08e2b62 100644 --- a/src/pp.02.03-Lock/src/main/java/pp/Factory.java +++ b/src/pp.02.03-Lock/src/main/java/pp/Factory.java @@ -3,7 +3,6 @@ package pp; public class Factory { private static Type instance; - private static Object lock = new Object(); public static Type getInstance() { Type.prepare();