You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by ilfrin <il...@poczta.onet.pl> on 2003/11/08 19:04:45 UTC

please explain the org.apache.turbine.om.security.TurbineUser

Hi ,

  whose bright idea was this?

    public String getFirstName()
    {
        String tmp = null;
        try
        {
            tmp = (String) getPerm(User.FIRST_NAME);
            if(tmp.length() == 0)
            {
                tmp = null;
            }
        }
        catch (Exception e)
        {
        }
        return tmp;
    }

    public String getLastName()
    {
        String tmp = null;
        try
        {
            tmp = (String) getPerm(User.LAST_NAME);
            if (tmp.length() == 0)
                tmp = null;
        }
        catch (Exception e)
        {
        }
        return tmp;
    }   

    ?? what's the purpose ?

-- 
Thanks,
 ilfrin                          mailto:ilfrin@poczta.onet.pl



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