TLG: wrong answer (java)

Hi all,
I am getting a “wrong answer” when I submit my solution for the TLG exercise but I honestly can’t see why it isn’t working. Could someone help me out? That would be greatly appreciated.

My attempt:


Is there anyone who could help me further?