From de11a5a2be8eaa844882d6302aa288da82800794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 1 Dec 2021 08:27:40 +0100 Subject: [PATCH] fix(ConditionObjet): evaluer() did not return in default case --- enigme.java/ConditionObjet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enigme.java/ConditionObjet.java b/enigme.java/ConditionObjet.java index 4933d0b..5862ecf 100644 --- a/enigme.java/ConditionObjet.java +++ b/enigme.java/ConditionObjet.java @@ -33,7 +33,7 @@ public class ConditionObjet implements ConditionTest { } else if (this.operateur.equals("!=")) { return compteur != nombre; } else { - System.out.println("dafuk"); + throw new Error("dafuk"); } } }