Re: do you need to call super in Mapper.Context.setup()?

2010-09-24 Thread Lance Norskog
Maybe. Maybe not. Maybe not this time, but next time yes. It's just bulletproofing, like checking for nulls everywhere. Mark Kerzner wrote: Hi, any need for this, protected void setup(Mapper.Context context) throws IOException, InterruptedException { super.setup(context); // TODO - d

Re: do you need to call super in Mapper.Context.setup()?

2010-09-17 Thread Mark Kerzner
In that case, you get an "unchecked type" warning On Fri, Sep 17, 2010 at 10:39 AM, Owen O'Malley wrote: > > On Sep 17, 2010, at 7:29 AM, David Rosenstrauch wrote: > > On 09/16/2010 11:38 PM, Mark Kerzner wrote: >> >>> Hi, >>> >>> any need for this, >>> >>> protected void setup(Mapper.Context c

Re: do you need to call super in Mapper.Context.setup()?

2010-09-17 Thread Owen O'Malley
On Sep 17, 2010, at 7:29 AM, David Rosenstrauch wrote: On 09/16/2010 11:38 PM, Mark Kerzner wrote: Hi, any need for this, protected void setup(Mapper.Context context) throws IOException, InterruptedException { super.setup(context); // TODO - does this need to be done? this.co

Re: do you need to call super in Mapper.Context.setup()?

2010-09-17 Thread Mark Kerzner
Thank you for the advice and for teaching the common expression Mark On Fri, Sep 17, 2010 at 9:29 AM, David Rosenstrauch wrote: > On 09/16/2010 11:38 PM, Mark Kerzner wrote: > >> Hi, >> >> any need for this, >> >> protected void setup(Mapper.Context context) throws IOException, >> InterruptedExc

Re: do you need to call super in Mapper.Context.setup()?

2010-09-17 Thread David Rosenstrauch
On 09/16/2010 11:38 PM, Mark Kerzner wrote: Hi, any need for this, protected void setup(Mapper.Context context) throws IOException, InterruptedException { super.setup(context); // TODO - does this need to be done? this.context = context; } Thank you, Mark "Use the source Lu

do you need to call super in Mapper.Context.setup()?

2010-09-16 Thread Mark Kerzner
Hi, any need for this, protected void setup(Mapper.Context context) throws IOException, InterruptedException { super.setup(context); // TODO - does this need to be done? this.context = context; } Thank you, Mark