atom feed25 messages in org.jdom.jdom-interestRe: [jdom-interest] jdom 2.0 with gen...
FromSent OnAttachments
Noel GrandinJul 21, 2011 6:00 am 
Thomas SchefflerJul 21, 2011 7:08 am 
J DaltonJul 21, 2011 8:04 am 
Olivier JaquemetJul 21, 2011 8:23 am 
Brenner, MikeJul 21, 2011 8:37 am 
Paul LibbrechtJul 21, 2011 8:50 am 
Bob JacobsenJul 21, 2011 9:23 am 
Alves, Licinio S CIV NUWC NWPTJul 21, 2011 2:06 pm 
Rolf LearJul 21, 2011 4:18 pm 
Michael KayJul 21, 2011 4:29 pm 
Rolf LearJul 21, 2011 4:55 pm 
Noel GrandinJul 22, 2011 6:25 am 
Rolf LearJul 22, 2011 8:43 am 
Jason HunterJul 22, 2011 1:33 pm 
Rolf LearJul 22, 2011 2:08 pm 
Noel GrandinJul 25, 2011 12:57 am 
Leigh L Klotz JrJul 28, 2011 11:16 am.java, .java, .java
Jason HunterAug 7, 2011 6:32 pm 
Brad CoxAug 8, 2011 4:10 am 
jdomAug 8, 2011 5:52 am 
RolfAug 8, 2011 6:12 am 
RolfAug 8, 2011 7:12 am 
Joe BowbeerAug 8, 2011 9:22 am 
Brad CoxAug 10, 2011 3:57 pm 
Brad CoxAug 10, 2011 4:17 pm 
Subject:Re: [jdom-interest] jdom 2.0 with generics
From:J Dalton (J.Da@ed.ac.uk)
Date:Jul 21, 2011 8:04:52 am
List:org.jdom.jdom-interest

If it breaks backward compatibility, surely those who do not want to (or are unable to) change their code could continue to use the earlier versions.

That JDOM doesn't use generics has unfortunately become an argument against using JDOM.

-- Jeff

2011/7/21 Thomas Scheffler <thom@uni-jena.de>:

Am 21.07.2011 15:01, schrieb Noel Grandin:

Hi

Would there be any interest in doing a JDOM 2.0 targeting java 1.5+, but changing return types to use generics?

I'd be happy to produce some patches, they're pretty straightforward.

And I know I'd appreciate cleaning up some of code with better type checking.

Hi,

this topic has been around some time now. And the main concern was that this change would break backward compatibility. Beside that using generics would be great, as JAVA 5 itself is unsupported since 2009 now.

So if current code runs without changes: +1 from me.

regards,