Bleah, my bad - I keep adding it to fix compile errors in Eclipse. Not
sure how I am getting so confused ... is this some
borderline Java 5 / generics problem that keeps getting me?
Jody
> ...broken again... and fixed r20800.
>
> this time module/api/src/org/geotools/filter/SortOrder.java has acquired:
>
> public int compareTo(Object other) {
> int a = all.indexOf(this);
> int b = all.indexOf(other);
> if( a == b ) return 0;
> if( a > b ) return 1;
> else return -1;
> }
>
> which is not allowed since this method is final.
>
> This is the same error that was in
> ext/go/src/org/geotools/geometry/array/CompressionLevel.java... so i've
> brought both back, simply by purging this method.
>
> Can anyone enlighten me as to why/how this snippet keeps appearing?
>
> Thanks,
> Cory.
>
> -------------------------------------------------------------------------
> 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