equals in UserData changed

I have changed it with the auto generated method from eclipse :)