Thanks! 
That was the reason. I do not have equals method. Now it is working.
BTW in my equals method i will have to check if obj is not null otherwise I 
have NullPointerException - don't understand why..

  | public boolean equals(Object obj) {
  |             if(obj != null) {
  |                return (this.client == ((Client)obj).getClient());
  |             }
  |             else return false;
  | }
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103912#4103912

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103912
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to