Hi again,
I'm using Eclipse, and it is indeed possible to turn off the warnings (either 
by compiler options or by inline annotations).
Though, the warning-issue is not that important.
It is much more, that many things can be coded more elegantly.
I am just bringing up the topic to hear what people think.

/Aron.


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Martin Davis
Sent: 13 January 2009 18:02
To: JTS Topology Suite Development
Subject: Re: [jts-devel] JTS Version 1.10 Released

Can you turn off the warnings?

I'm not seeing a huge benefit to moving to using generics etc. There's
also a large amount of work to move everying to generics, I think.
There's also a downside to moving, which is that people running 1.1-1.4
will no longer be able to use the library. (Don't laugh - I have at
least one client who is still using 1.4)

What do others on the list think?

The comment about XML API dependency is interesting. Would it be
possible to encapsulate this dependency and allow either to be used? If
so can you provide code?

Aron Olsen wrote:
>
> Hi Martin,
>
> I cannot avoid noticing that JTS is currently coded according to Java
> 1.4 - not using generics, enumerations and auto-boxing.
>
> Thus, programming against JTS using Java 1.6 compliance level usually
> results in various compiler-warnings (for example when java.util.List
> is being referenced).
>
> Furthermore, I also noticed that the GML I/O relies on the (external)
> xerces XML-api and not on the Java built-in JAXP API.
>
> Are there any plans in the pipeline of having the JTS code-base
> updgraded to Java 1.6 standards?
>
> /Aron
>
> PS: The problem with the "sortedClasses" array in Geometry.java could
> have been solved by making use of an enumeration such as "public enum
> GeometryType".
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jts-devel mailing list
> [email protected]
> http://lists.refractions.net/mailman/listinfo/jts-devel
>

--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022

_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel


_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to