OK, I get it. On Wed, Feb 5, 2014 at 7:53 AM, Uwe Schindler <[email protected]> wrote: > Hi Benson, > > If you use String#format without an explicit Locale, its forbidden because > not platform independent, which is a requirement for an library like Lucene. > If you really know for sure that you want to use the default locale, add > Locale.getDefault() explicit. Forbidden checker mentions that fact when it > reports the error. > Lucene 5 (trunk) is based on Java 7, Lucene 4 is based on Java 6. > > Uwe > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: [email protected] > > >> -----Original Message----- >> From: Benson Margulies [mailto:[email protected]] >> Sent: Wednesday, February 05, 2014 1:46 PM >> To: [email protected] >> Subject: Why is String.format[] forbidden? >> >> Or, more specifically, what's the minimum JVM for 4.x versus 5.x? I had the >> idea that even 4.x required 1.6. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] For additional >> commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
