Santiago Gala wrote:
> Jon Stevens wrote:
>
> > on 11/22/2000 3:13 AM, "Santiago Gala" <[EMAIL PROTECTED]> wrote:
> >
> > > We were looking into this in the last days. There is job to do:
> > >
> > > DBBroker is deprecated, but it is simply a matter of changing it by
> > > PoolBrokerService everywhere.
> >
> > That has been this way for about 2 months now.
> >
> > > Most important, TurbineUser no longer has a getId() method, and a lot of
> > > code in out mail checking, etc. is accessing directly the DB.
> >
> > Read the code more carefully. TurbineUser extends BaseObject which has a
> > getId() method.
>
> I got plenty of errors complaining about getId() not being a valid method. I
> thought it was in TurbineUser. Maybe I spelled the wrong class. Sorry.
>
Sorry for quoting myself, but I found about it.
data.getUser() return a User, which has no getId(). So, if we want to use
getId(), we would have to cast it to a TurbineUser, which I didn't notice when
looking at the error trace.
I don't know if casting a User to a TurbineUser is safe. What do you think, Jon?
>
> >
> >
> > -jon
> >
> > --
> > twice of not very much is still a lot more than not very much
> >
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
> > Problems?: [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]