commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@hoplahup.net>
Subject Re: [io] Moving to Java 6 for version 2.3
Date Thu, 29 Mar 2012 22:15:56 GMT
Will the resulting jars still run on jdk 1.5?
I think I would suggest a new major version if not.

paul


Le 29 mars 2012 à 23:55, Gary Gregory a écrit :

> Hi All:
> 
> In order to add and use Charset APIs for encodings instead of encoding name
> Strings with various APIs like String(byte[], Charset) and so on, I plan on
> moving [io] to Java 6.
> 
> I have (not committed) changes to the IOUtils class as a start: all APIs
> that can take a String encoding name (old school) have a sister API that
> takes a Charset object (new school).
> 
> The refactoring I have is actually quite nice and gets rid of the odd noise
> in the implementation "if encoding is null then call API1 else call API2."
> Instead I convert the null to Charset.defaultCharset() in a new API (again,
> not committed yet until I set the POM to Java 6).
> 
> Thank you,
> Gary
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message