Ad
  • Custom User Avatar

    I had the same solution, except I don't use the contains() method but directly the add() method in the if, which also tells me that the element was already in the set if it returns false.