Thanks "patch" applied to trunk - I am afraid I don't have 2.3.0 checked 
out.

Andrea do you have a second for this one before 2.3.1 goes out?
Jody
> Hello
> When testing our geotools-based software, we discovered a possibly  
> nasty bug in  
> http://svn.geotools.org/geotools/tags/2.3.0/module/main/src/org/geotools/feature/collection/SubFeatureCollection.java
>   
> :
>
> public boolean isEmpty() {
>      Iterator iterator = iterator();
>      try {
>           return iterator.hasNext();
>       }
>       finally {
>           close( iterator );
>       }
>      }
>
> It looks like (and yes - its the case) that the "isEmpty" method  
> returns "true"
> if the iterator has some data - and "false" otherwise...
>
> Regards,
>   Per
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to