Fixed an issue adding objects to groups
This commit is contained in:
parent
a172592989
commit
f5bbcbd925
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public class Group<J>
|
|||
|
||||
protected boolean isValid(J obj)
|
||||
{
|
||||
return obj != null && memebers.contains(obj);
|
||||
return obj != null && !memebers.contains(obj);
|
||||
}
|
||||
|
||||
public boolean addMemeber(J obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue