Browse Source

refactoring: Edited method name in QuizCommand

endmessage -> endMessage
*Camel Case Convention
remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
915d3829dc
  1. 4
      src/main/java/org/bitbiome/commands/QuizCommand.java

4
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("Leider falsch... Richtig ist: " + korrekteAntwort + "\n");
} }
print(endmessage());
print(endMessage());
Date d = new Date(); Date d = new Date();
long lastPlayed = d.getTime(); 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!"; return "Das Quiz ist vorbei!";
} }
} }

Loading…
Cancel
Save