You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Erik Hatcher <ja...@ehatchersolutions.com> on 2002/06/23 05:08:29 UTC
JDBCTask question
Any particular reason we have two "userid" setters in JDBCTask?
// uppercase "I"
public void setUserId(String userId) {
this.userId = userId;
}
// lowsercase "i"
public void setUserid(String userId) {
this.userId = userId;
}
Any objections to me axing one of them?
Erik
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JDBCTask question
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
----- Original Message -----
From: "Conor MacNeill" <co...@cortexebusiness.com.au>
To: "Ant Developers List" <an...@jakarta.apache.org>
Sent: Saturday, June 22, 2002 11:27 PM
Subject: Re: JDBCTask question
> Erik Hatcher wrote:
> > Any particular reason we have two "userid" setters in JDBCTask?
> >
> > // uppercase "I"
> > public void setUserId(String userId) {
> > this.userId = userId;
> > }
> >
> > // lowsercase "i"
> > public void setUserid(String userId) {
> > this.userId = userId;
> > }
> >
>
> You must support the second one for SQLExec backward compatability.
Thanks for that.... I was going to remove the second one - zoinks!
So the first one can safely be removed? All compiled fine when I removed
the second one, at least, but if it was there first then it stays.
Erik
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JDBCTask question
Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Erik Hatcher wrote:
> Any particular reason we have two "userid" setters in JDBCTask?
>
> // uppercase "I"
> public void setUserId(String userId) {
> this.userId = userId;
> }
>
> // lowsercase "i"
> public void setUserid(String userId) {
> this.userId = userId;
> }
>
You must support the second one for SQLExec backward compatability.
Conor
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>