Hello,

I use gt2-2.4.4 and I found a bug in FeatureTypeBuilder.removeAll()

     public final void removeAll() {
         int cnt = getAttributeCount();

         for (int i = cnt; i > 0; i++) {
             removeType(i - 1);
         }
     }

Every call of this method causes an Exception because obviously the loop
variable i must be decreased.

Maybe someone can fix this until the next release.

Kind regards

Martin



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to