Change the String
comparisons to
competitors.getScore().equals("beginer")
or even better to
"beginer".equals(competitors.getScore())
Comparing Strings
with ==
is generally not the right way to do this.
Also, beginer
is misspelled, check if the calling code has it misspelled
too. If it has it spelled correctly, then that might be your main issue.