commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject RE: [collection] PMD of Collections
Date Thu, 07 Nov 2002 22:29:41 GMT


On Thu, 7 Nov 2002, Martin Cooper wrote:

> > > It still leaves a lot in the Tests which are basically:
> > >
> > > try {
> > >    Object obj = someTest();
> > > } catch(ExpectedException ee) {
> > >    ...
> > > }

> If the code is really like the example above, and the assignment is to an
> Object, then compilation will only break if the return type is changed to a
> primitive or void. ;-)

My fault. It's not usually Object.


Hen


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message