From 915d3829dc0bf219187c42fe6588616a862f871e Mon Sep 17 00:00:00 2001 From: Friederike von Gruben Date: Mon, 6 Feb 2023 13:26:43 +0100 Subject: [PATCH] refactoring: Edited method name in QuizCommand endmessage -> endMessage *Camel Case Convention --- src/main/java/org/bitbiome/commands/QuizCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bitbiome/commands/QuizCommand.java b/src/main/java/org/bitbiome/commands/QuizCommand.java index a4210ac..db0316e 100644 --- a/src/main/java/org/bitbiome/commands/QuizCommand.java +++ b/src/main/java/org/bitbiome/commands/QuizCommand.java @@ -45,7 +45,7 @@ public class QuizCommand implements CommandAPI { print("Leider falsch... Richtig ist: " + korrekteAntwort + "\n"); } - print(endmessage()); + print(endMessage()); Date d = new Date(); long lastPlayed = d.getTime(); @@ -96,7 +96,7 @@ public class QuizCommand implements CommandAPI { } - public static String endmessage(){ + public static String endMessage(){ return "Das Quiz ist vorbei!"; } }