You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by lvjin <lu...@yahoo.com> on 2001/07/30 16:30:53 UTC

a bug in RoleSet.java

public boolean add(RoleSet roleSet)
    {
        return set.add((Collection)roleSet.set);
    }

should be 
     set.addAll((Collection)roleSet.set);



_________________________________________________________
Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn

<font color=#6666FF>无聊?郁闷?高兴?没理由?都来聊天吧!</font>―― 
雅虎全新聊天室! http://cn.chat.yahoo.com/c/roomlist.html

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: a bug in RoleSet.java

Posted by Daniel Rall <dl...@finemaltcoding.com>.
lvjin <lu...@yahoo.com> writes:

> public boolean add(RoleSet roleSet)
>     {
>         return set.add((Collection)roleSet.set);
>     }
> 
> should be 
>      set.addAll((Collection)roleSet.set);

You're right, thanks.  Fixed in tip of HEAD and stable branch.

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org