Releases of JCS

2018-02-22 Thread Jochen Wiedmann
Hi, with regards to a bug, I need to find out, whether that bug has been present in any official release. Looking into archive.apache.org, I find Commons JCS 1.3, and Jakarta JCS 1.3, both of which don't contain the bug, because it had already been fixed, at the time. The only SVN tags I find, ar

Re: Releases of JCS

2018-02-22 Thread Gilles
Hello. On Thu, 22 Feb 2018 15:34:50 +0100, Jochen Wiedmann wrote: Hi, with regards to a bug, I need to find out, whether that bug has been present in any official release. Looking into archive.apache.org, I find Commons JCS 1.3, and Jakarta JCS 1.3, both of which don't contain the bug, becaus

[parent][commons-release-plugin] status?

2018-02-22 Thread Gary Gregory
Hi Rob and All: What do we think about adding [commons-release-plugin] to [parent] and releasing? Should the sequence be: - Release commons-release-plugin 1.1 - Add commons-release-plugin to parent and release parent. - Try a Commons component release using the new parent? Rob: As the creator o

Re: [parent][commons-release-plugin] status?

2018-02-22 Thread Rob Tompkins
> On Feb 22, 2018, at 3:24 PM, Gary Gregory wrote: > > Hi Rob and All: > > What do we think about adding [commons-release-plugin] to [parent] and > releasing? > > Should the sequence be: > > - Release commons-release-plugin 1.1 > - Add commons-release-plugin to parent and release parent. > -

Re: [parent][commons-release-plugin] status?

2018-02-22 Thread Gary Gregory
On Thu, Feb 22, 2018 at 2:25 PM, Rob Tompkins wrote: > > > > On Feb 22, 2018, at 3:24 PM, Gary Gregory > wrote: > > > > Hi Rob and All: > > > > What do we think about adding [commons-release-plugin] to [parent] and > > releasing? > > > > Should the sequence be: > > > > - Release commons-release-

[text] Upper/Lower case enum

2018-02-22 Thread Gary Gregory
Does anyone think this is useful and general enough to add to Commons Text: /** * Enumerates letter cases and converts strings. * * @author mailto:ggreg...@rocketsoftware.com";>Gary Gregory */ public enum LetterCase { LOWER { @Override public String toCaseString(final Strin

Re: [text] Upper/Lower case enum

2018-02-22 Thread Otto Fowler
What problem does it solve? On February 22, 2018 at 17:02:34, Gary Gregory (garydgreg...@gmail.com) wrote: Does anyone think this is useful and general enough to add to Commons Text: /** * Enumerates letter cases and converts strings. * * @author mailto:ggreg...@rocketsoftware.com";>Gary Gregory

Re: [text] Upper/Lower case enum

2018-02-22 Thread Gary Gregory
Use your imagination ;-) I use it in the following contexts: - To pass to a hex dump method to configure where the alpha chars should be in lower case or upper case. - To configure a parameterized JUnit test class to configure the case of HTTP headers and values. - To normalize input Gary On Th

Re: [text] Upper/Lower case enum

2018-02-22 Thread sebb
On 22 February 2018 at 22:27, Gary Gregory wrote: > Use your imagination ;-) What would the new code look like? How does it compare with code that does not have the enum? > I use it in the following contexts: > - To pass to a hex dump method to configure where the alpha chars should be > in low

Re: [text] Upper/Lower case enum

2018-02-22 Thread Gary Gregory
On Thu, Feb 22, 2018 at 4:11 PM, sebb wrote: > On 22 February 2018 at 22:27, Gary Gregory wrote: > > Use your imagination ;-) > > What would the new code look like? > I posted the code at the start of this thread... Gary > > How does it compare with code that does not have the enum? > > > I

Re: [text] Upper/Lower case enum

2018-02-22 Thread sebb
On 22 February 2018 at 23:15, Gary Gregory wrote: > On Thu, Feb 22, 2018 at 4:11 PM, sebb wrote: > >> On 22 February 2018 at 22:27, Gary Gregory wrote: >> > Use your imagination ;-) >> >> What would the new code look like? I mean the user code before and after the enum is introduced. >> > > I

Re: [text] Upper/Lower case enum

2018-02-22 Thread Gary Gregory
On Thu, Feb 22, 2018 at 4:27 PM, sebb wrote: > On 22 February 2018 at 23:15, Gary Gregory wrote: > > On Thu, Feb 22, 2018 at 4:11 PM, sebb wrote: > > > >> On 22 February 2018 at 22:27, Gary Gregory > wrote: > >> > Use your imagination ;-) > >> > >> What would the new code look like? > > I mean

Re: [text] Upper/Lower case enum

2018-02-22 Thread Peter Burka
This feels like it might have been more useful pre-Java 8. Why not use a lamda function, which would permit arbitrary string transformations? /peter On Thu, Feb 22, 2018, 7:42 PM Gary Gregory wrote: > On Thu, Feb 22, 2018 at 4:27 PM, sebb wrote: > > > On 22 February 2018 at 23:15, Gary Gregory

Re: [text] Upper/Lower case enum

2018-02-22 Thread Jochen Wiedmann
On Thu, Feb 22, 2018 at 11:14 PM, Otto Fowler wrote: > What problem does it solve? Good for functional programming? - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.a

Re: Releases of JCS

2018-02-22 Thread Jochen Wiedmann
On Thu, Feb 22, 2018 at 5:58 PM, Gilles wrote: > From the "announce" ML archives[1] it seems there weren't. Thanks. That helps! - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h