You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jesse Glick <Je...@netbeans.com> on 2001/01/25 13:06:04 UTC

[PATCH] trivial changes to Project.java

Better-formatted message during copy operation, and make
Project.toBoolean handle null.

-Jesse

-- 
Jesse Glick   <ma...@netbeans.com>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

Re: [PATCH] trivial changes to Project.java

Posted by Jesse Glick <Je...@netbeans.com>.
> Jesse Glick <Je...@netbeans.com> wrote:
> > and make Project.toBoolean handle null.

Stefan Bodewig wrote:
> In which situation could a null be passed to this method? I think we
> could as well define a precondition of s != null in the documentation.

Good enough.

-Jesse

-- 
Jesse Glick   <ma...@netbeans.com>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

Re: [PATCH] trivial changes to Project.java

Posted by Stefan Bodewig <bo...@apache.org>.
Jesse Glick <Je...@netbeans.com> wrote:

> Better-formatted message during copy operation,

Don't want to argue aesthetics 8-)

> and make Project.toBoolean handle null.

In which situation could a null be passed to this method? I think we
could as well define a precondition of s != null in the documentation.

Just curious

Stefan