From 47375ba647ba6db8bd73b2eb87bfba493bbffa83 Mon Sep 17 00:00:00 2001 From: nikow Date: Thu, 5 Jan 2023 16:15:06 +0100 Subject: [PATCH] =?UTF-8?q?final=20beim=20erzeugen=20vom=20Pris=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Roboterfabrik/src/Domäne/Nexus6.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roboterfabrik/src/Domäne/Nexus6.java b/Roboterfabrik/src/Domäne/Nexus6.java index 3e8b46f..eafe3e9 100644 --- a/Roboterfabrik/src/Domäne/Nexus6.java +++ b/Roboterfabrik/src/Domäne/Nexus6.java @@ -8,7 +8,7 @@ public class Nexus6 extends Roboter { String name; int id; RobotException fehler; - private static Nexus6 PRIS; + private static final Nexus6 PRIS = new Nexus6(); private Nexus6() {