[ANNOUNCE] Apache Commons Lang 3.1 released

2011-11-15 Thread Henri Yandell
The Apache Commons team is pleased to announce the release of Commons Lang 3.1. This is a drop-in replacement for 3.0 and 3.0.1. A list of the 8 changes and 5 bug fixes in this release are found in the release notes: https://commons.apache.org/lang/changes-report.html#a3.1 For general

Re: Download statistics question

2011-09-16 Thread Henri Yandell
Unfortunately the answer is that we don't know. A side effect of the huge number of mirrors we have is that we don't know how much is downloaded from each mirror. Vadim's site shows the number of downloads from Apache, but beyond knowing the download stats for legacy versions (which don't go to

Re: Validate method with logging

2011-09-11 Thread Henri Yandell
Nope. Primarily because Lang doesn't take dependencies on anything but the JDK. Hen On Thu, Sep 8, 2011 at 3:58 AM, jeff mutonho linuxedhum...@gmail.com wrote: Hi Is there an argument validate method in the lang package that one can override not to throw a NullPointerException (NPE) after

Re: Bug in StringUtils.equals()

2011-08-30 Thread Henri Yandell
On Tue, Aug 30, 2011 at 1:59 PM, sebb seb...@gmail.com wrote: On 30 August 2011 19:08,  e_rei...@web.de wrote: Hi All, i found a Bug in lang3. This tests are failed: Assert.assertTrue(org.apache.commons.lang3.StringUtils.equals(new StringBuffer(), new StringBuffer()));

Re: [lang] Dev support for LANG-378 new ToStyle to support MultiLine with Indent

2011-08-23 Thread Henri Yandell
Noting for the user list's sake that I've switched this thread over to the dev list. Hen On Mon, Aug 22, 2011 at 11:39 PM, Barrie Treloar baerr...@gmail.com wrote: Hi, I'm looking for someone to help me with getting LANG-378 new ToStyle to support MultiLine with Indent committed. I think I

Re: [lang] java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils Exception

2011-08-11 Thread Henri Yandell
We should update the article to cover that. Or make a FAQ item :) Hen On Thu, Aug 11, 2011 at 7:31 AM, Gary Gregory ggreg...@seagullsoftware.com wrote: 3.x is not a drop-in replacement for 2.x. So it only makes sense to ADD 3.x if you are coding to the 3.x API. Gary -Original

Re: [jdk compatibility]Using commons libraries on java 6

2011-08-11 Thread Henri Yandell
Simple answer: They're probably fine. JDBC is the only item that usually causes trouble. To be more sure, go to SVN and check out the source code for each. Then build it under JDK 6. Upgrading to the latest versions of these would also be useful. Although we may release a component by using a

[ANNOUNCE] Apache Commons Lang 3.0.1 released

2011-08-10 Thread Henri Yandell
The Apache Commons team is pleased to announce the release of Commons Lang 3.0.1. As the version suggests, this is a drop-in replacement for 3.0. A list of the 9 changes and 6 bug fixes in this release are found in the release notes: https://commons.apache.org/lang/changes-report.html#a3.0.1

[ANNOUNCE] Apache Commons Lang 3.0 released

2011-07-19 Thread Henri Yandell
The Apache Commons team is pleased to announce the release of Commons Lang 3.0 Commons Lang is JDK 1.5+ and has updated the API to support Java 5 features, such as generics and varargs. Deprecated parts of the API have been removed. This is NOT a backwards compatible release. Because of this, we

Re: [lang]: Release date for Common Lang 3.0 (Final Release)

2011-05-24 Thread Henri Yandell
Undefined I'm afraid. There were a few issues on the last RC and, for my part, I'm currently in baby-rearing mode with about 10 minutes of personal time each day. Hen On Mon, May 23, 2011 at 4:19 AM, Rohan Kadam roha...@cybage.com wrote: Hi, Please let me know, when common lang 3.0 will be

Re: [codec] DigestUtils.md5Hex Exception inside Servlet

2011-04-07 Thread Henri Yandell
That's a pretty boring class Java-wise and it seems unlikely that your container is putting codec in the classpath on its own, so I suspect the problem is in how you're making the jar available within the servlet container. Hen On Thu, Apr 7, 2011 at 1:23 AM, Fahmi Hachicha

Feathercast on Apache Commons

2011-02-02 Thread Henri Yandell
Our own Gary Gregory being interviewed by Feathercast.org: http://feathercast.org/?p=97 - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: NumberUtils and decimal point character

2011-01-29 Thread Henri Yandell
None I can think of; I've recorded it as LANG-674: https://issues.apache.org/jira/browse/LANG-674 Thanks :) On Thu, Jan 27, 2011 at 1:11 AM, Stevo Slavić ssla...@gmail.com wrote: Hello Apache Commons users, Is there any valid reason why '.' is hardcoded as decimal point character in

Re: Bug with StringEscapeUtilities' escapeHTML/unescapeHTML for certain characters

2011-01-01 Thread Henri Yandell
Yes, the 3.0-beta is from the beginning of August. There have been 20 fixes since then: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truepid=12310481updated%3Aafter=4%2FAug%2F10status=5status=6fixfor=12311714resolution=1sorter/field=updatedsorter/order=DESC Hen On Mon, Dec

Re: [lang]

2010-11-07 Thread Henri Yandell
Thanks Dirk, I've gone ahead and fixed this in r1032220. Index: src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java === --- src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java (revision

Re: [Primitives] Does anyone use this?

2010-11-07 Thread Henri Yandell
Something else to consider is Stephen Colebourne's Joda Primitives: http://joda-primitives.sourceforge.net/ Commons Primitives hasn't been touched since 2005 when Stephen was active on the component. I think it's an Attic component (ie not being worked on and no future releases expected). Bcc

Re: [SANSELAN] Status and future of Sanselan?

2010-11-07 Thread Henri Yandell
and the latest release (2.3, April 26, 2010) of the EXIF standard?   I haven't had a chance to look at this at all. Matthew On Sun, Nov 7, 2010 at 2:14 PM, Henri Yandell flame...@gmail.com wrote: Pointing this email out. JIRA for Sanselan is a bit confusing; it needs a new version created

Re: [Collections] Generics Support

2010-08-04 Thread Henri Yandell
On Mon, Aug 2, 2010 at 5:18 AM, sebastian.petzelber...@aformatik.com wrote: Are there any plans for the Collections library to support generics in the future?  If so, when can we expect that? I was looking for this my self and I found following: http://sourceforge.net/projects/collections/

[ANNOUNCE] Apache Commons Lang 3.0 Beta released

2010-08-03 Thread Henri Yandell
On behalf of the Apache Commons Lang contributors, I would like to announce that we have released a 3.0-beta of Commons Lang. Lang is now Java 5 based. We've generified the API, moved certain APIs to support varargs and thrown out any features that are now supported by Java itself. We've

Re: [validator] download 1.4 version ?

2010-07-23 Thread Henri Yandell
Correct, it's not been released so you need to download the source from svn and build. I've built a snapshot version of the latest source code for you in case that's a pain in the arse :) http://people.apache.org/~bayard/commons-validator-1.4-SNAPSHOT-bin.zip Feedback is very much

Re: [SANSELAN] Distributing Applications That Use Sanselan

2010-07-23 Thread Henri Yandell
Embedding the classes from one jar in another tends to lead to jar hell; namely people wondering why putting a later version of sanselan in their classpath isn't working. If you're a user end application then you can get away with it. Legally; follow the license. For me that means including the

Re: Commons-transaction abandoned?

2010-03-06 Thread Henri Yandell
, but then it would no longer be of major interest. Thus, except anyone else wants to bring it further, the project is dead. What would be the steps for its funeral (feels bad as this would be the second Apache project funeral I am involved in)? - Oliver 2010/3/5 Henri Yandell flame...@gmail.com

Re: Commons-transaction abandoned?

2010-03-05 Thread Henri Yandell
The current version is 1.2 (released in 2007). 1.3-SNAPSHOT is then the subsequent version in development, but it looks as though it was quickly renamed to 2.0. 2.0 currently has 6 of 9 issues resolved, the most recent being reported and applied in Sept 2009, and 2 of the open issues were opened

Re: Commons-transaction abandoned?

2010-03-05 Thread Henri Yandell
, especially the locking and deadlock detection part. That's why I have not been determined what to do with the project. Certainly 2.0 is better than 1.x by any means, but I still think it should not be released as its promises can not be kept. Any thoughts? - Oliver 2010/3/5 Henri Yandell

Re: Commons CLI : Executing from shell script ?

2009-11-20 Thread Henri Yandell
Does using $* help? Even if it doesn't, it would be more concise. I'm assuming one of the variables you're passing through contains a space and is splitting things up after the quotes surrounding it are lost. Does the number of arguments increase? Hen On Thu, Nov 19, 2009 at 2:21 AM, Ashika

Re: [LANG] 2.4: ExceptionUtils.getFullStackTrace()

2009-11-08 Thread Henri Yandell
, Nov 5, 2009 at 11:21 AM, Henri Yandell flame...@gmail.com wrote: I think the issue is that if you print the nested exception and keep going, you'll get a lot of duplicates as the nested exception will print all its children, then you'll go ahead and loop into the child. Looking

Re: utils for notnulll

2009-09-07 Thread Henri Yandell
On Thu, Sep 3, 2009 at 7:39 AM, tubin genfachh...@gmail.com wrote: I have  a form with start date and end date  fields,  form makes sense only if both the fields are present,any one of tow is null it is not right , I am wondering there is any   util which checks if both the values are not null

Re: Commons lang parseDate fails to parse ISO8601 date?

2009-09-07 Thread Henri Yandell
Issue seems to be that DateFormatUtils.ISO_DATETIME objects are FastDateFormat objects; whereas parseDate uses SimpleDateFormat. The former supports ZZ whereas the latter does not. Java 1.4 (not sure about later) had 'Z' which meant +0100. FastDateFormat adds 'ZZ' to support the ISO standard of

Re: ArrayList nullIfEmpty

2009-09-07 Thread Henri Yandell
(Presumably the title was meant to be ArrayUtils nullIfEmpty :) ) Best way is to open a JIRA issue up (http://issues.apache.org/jira/browse/LANG). The below should be defaultIfEmpty rather than nullIfEmpty I suspect to match StringUtils/ObjectUtils. Hen On Thu, Aug 27, 2009 at 6:48 PM, Guy

Re: problem with StringEscapeUtils on linux inside tomcat

2009-09-07 Thread Henri Yandell
Apologies for the slow reply. Common approach on this list is to tag the subject, ie: [lang] problem with StringEscapeUtils that can help it to be noticed. escapeHtml has a much disagreed with 'feature' that it escapes non-ASCII characters. That could be what you're seeing; perhaps mixed with

Re: Port of the Commons libraries to .NET

2009-07-15 Thread Henri Yandell
The subject has come up before, but generally it's not happened. I've not heard of any of Lang being ported (though I'm all for the idea). Hen On Thu, Jul 9, 2009 at 6:20 AM, Steven Whatmoresteven.whatm...@purefacts.com wrote: Good morning, I am in the middle of a port of an application

[ANNOUNCE] Commons CLI 1.2 Released

2009-03-19 Thread Henri Yandell
jars have have been uploaded to the Maven repository, and CLI is also available in either binary or source form from: http://commons.apache.org/downloads/download_cli.cgi Henri Yandell on behalf of the Commons community

Re: Adding logging to DBUTILS

2009-03-09 Thread Henri Yandell
P6Spy would be the method I use here. It's a debugging driver wrapper that you would put between DbUtils and your database driver. On Mon, Mar 9, 2009 at 4:32 AM, kpowerinfinity kpowerinfin...@gmail.com wrote: Hi, We are using DbUtils for a number of our projects, and were wondering if there

Re: BooleanUtils

2008-12-05 Thread Henri Yandell
There's been no request for it. If you'd like to see that, opening a JIRA ticket is the best way - even better if you attach a patch with unit test. Thanks, Hen On Wed, Nov 19, 2008 at 4:32 AM, [EMAIL PROTECTED] wrote: Hi, I am using commons.lang and other sub-packages in our project at an

[COLLECTIONS] Heads up on 3.3 release

2008-11-04 Thread Henri Yandell
If you look at https://issues.apache.org/jira/browse/COLLECTIONS you'll see that Collections 3.3 is getting extremely close. In case anyone is holding back on a bug, wants to take a look or mentally reserve some time etc to look at the rc :) I'm loosely thinking on making a first release

Re: export control: Commons (-collections 2.1.1, -io 1.2, -lang 2.1, -logging 1.0.3, -beanutils 1.7.0, -codec 1.3, -digester 1.6, -el 1.0, -fileupload 1.1.1) and cglib 2.1.3

2008-11-04 Thread Henri Yandell
None of the Commons libraries below have been identified as needing to be on the exports page and have one of the ECCNs you mention. No idea for cglib - that's a project over on sourceforge. Hen On Thu, Oct 30, 2008 at 4:57 PM, Export Control [EMAIL PROTECTED] wrote: Hi, I am engaged in

Re: Common DbUtils

2008-08-27 Thread Henri Yandell
Ah I see. You build the ? marks up using something like StringUtils.repeat(,?).substring(1). I don't think we have named parameters in there - though Brian McCallister's JDBI does and might be worth a look: http://jdbi.org/ Hen On Wed, Aug 27, 2008 at 12:12 AM, [EMAIL PROTECTED] [EMAIL

Re: Common DbUtils

2008-08-26 Thread Henri Yandell
Try: String[] params = {1, 2}; Hen On Mon, Aug 25, 2008 at 2:12 PM, Pietro Santurelli [EMAIL PROTECTED] wrote: Hi all, I'm using common DbUtils 1.1 to execute this query: SELECT column1 FROM table WHERE id_table IN (?). Java fragment code is: String params = 1,2; String query = SELECT

Re: Release of commons-cli?

2008-05-28 Thread Henri Yandell
CLI 2.0 I don't see any time soon (ever) unless someone gets a big urge. CLI 1.2 I have on my list as a 'sometime soon' along with the next Collections 3.x and Codec 1.x - looking at it I think it could go very easily, none of the 4 tickets are blocked (ignoring that CLI-137 is a painful one to

Re: Can I use Apache CLI to develop command line interpreter using Java

2008-05-28 Thread Henri Yandell
I don't know - for parsing the parameters for the main script, sure. It probably could be useful for the remote service's command line, but you'd definitely have to play around to be sure. Hen On Sun, May 25, 2008 at 10:15 PM, lahiru gunathilake [EMAIL PROTECTED] wrote: Hi devs, I'm writing a

Re: Release of commons-cli?

2008-05-28 Thread Henri Yandell
On Wed, May 28, 2008 at 12:30 AM, Russel Winder [EMAIL PROTECTED] wrote: On Tue, 2008-05-27 at 23:54 -0700, Henri Yandell wrote: CLI 2.0 I don't see any time soon (ever) unless someone gets a big urge. What is needed to move 2.0 to release? Given that the policy decision was made to shift

Re: About commons codec ver 1.1 and export control rules

2008-05-23 Thread Henri Yandell
On Mon, May 19, 2008 at 9:35 AM, Niall Pemberton [EMAIL PROTECTED] wrote: On Mon, May 19, 2008 at 3:15 PM, Trevisson Cristina [EMAIL PROTECTED] wrote: Dear All, Would you be so kind to help me in answering the following question ? Does common codec ver 1.1 contain symmetric cryptographic

Re: [cli2] Negative number arguments seen as options

2008-05-23 Thread Henri Yandell
Release it? :) CLI1 and CLI2 are already basically different parsers and living in the same site. If you want the Avalon one out there, go for it and I don't see any reason why it can't be on the same site. Hen On Wed, May 21, 2008 at 3:11 AM, sebb [EMAIL PROTECTED] wrote: Dare I say it:

Re: which commons codec converts space to %20?

2008-05-08 Thread Henri Yandell
it is difficult, but just sort of cheesy if you know what I mean On Wed, May 7, 2008 at 3:29 PM, Henri Yandell [EMAIL PROTECTED] wrote: It probably needs to be an option added to the URLEncoder class. I doubt there's anything that does this for you right now. For now - I would recommend

Re: which commons codec converts space to %20?

2008-05-07 Thread Henri Yandell
It probably needs to be an option added to the URLEncoder class. I doubt there's anything that does this for you right now. For now - I would recommend that you use a search and replace on the output of URLEncoder to change the + to %20. Hen On Mon, May 5, 2008 at 9:23 PM, Jim the Standing Bear

Re: [LANG] Add DateUtils.ceiling methods

2008-04-27 Thread Henri Yandell
Makes sense. A JIRA issue with a patch will get committed quickly enough :) Hen On Wed, Apr 16, 2008 at 9:30 AM, Travis Reeder [EMAIL PROTECTED] wrote: It would be nice to have a DateUtils.ceiling methods which would be the opposite of truncate (which is equivalent to floor)

Re: [Jelly] how is the Jelly development status?

2008-03-14 Thread Henri Yandell
On Fri, Mar 14, 2008 at 1:26 AM, T. H. Lin [EMAIL PROTECTED] wrote: from the website I can see only release 1.0 (from year 2005) On JIRA there are another release 1.0.1 or even 1.1 in plan. but I can not find out the time line. I don't think there's much going on. Hen

Re: [FileUpload] extra FileSizeLimitExceededException metadata

2008-03-12 Thread Henri Yandell
Seems extremely doable. I recommend you open up a JIRA item: http://issues.apache.org/jira/browse/FILEUPLOAD That way it'll get on the list for the next version etc. Hen On Sun, Mar 9, 2008 at 7:17 AM, bob [EMAIL PROTECTED] wrote: Hi all, Would it be possible to add the file and field name

Re: No javadoc or source downloads

2008-03-04 Thread Henri Yandell
On Sun, Mar 2, 2008 at 1:39 PM, Dennis Lundberg [EMAIL PROTECTED] wrote: sebb wrote: On 02/03/2008, Oliver Heger [EMAIL PROTECTED] wrote: Dennis Lundberg schrieb: Parks, Bill (CDC/CCHIS/NCPHI) wrote: Please add javadoc and source downloads for version 1.5. The files on the

Re: [Commons-lang:DurationFormatUtils]how to use letter m in format

2008-03-04 Thread Henri Yandell
On Fri, Feb 29, 2008 at 2:22 AM, liumin HU [EMAIL PROTECTED] wrote: hi, I want to format the duration like 3h53m, but i cant use the 'm' in the pattern. How should i do? Why can't you use the 'm' in the pattern? Hen - To

Re: [Commands.Lang] StringEscapeUtils failed with the nbsp

2007-09-25 Thread Henri Yandell
Exactly how are you testing it? Bear in mind, that a unicode nbsp is not the same as a HTML nbsp, so it won't necessarily appear properly in a browser (at a guess, it will if you set the content type to unicode). Hen On 9/20/07, maomaode [EMAIL PROTECTED] wrote: Hi, Thanks for the reply, I