Re: svn commit: r1589446 - in /commons/proper/lang/trunk/src: main/java/org/apache/commons/lang3/time/FastDateParser.java test/java/org/apache/commons/lang3/time/FastDateParserTest.java

2014-04-24 Thread Honton, Charles
TextStrategy is only for parsing finite set of string choices. Literal text is handled by CopyQuotedStrategy. On 4/23/14, 6:14 PM, sebb seb...@gmail.com wrote: On 23 April 2014 21:19, Honton, Charles charles_hon...@intuit.com wrote: TextStrategy is used for: E - DAY_OF_WEEK G - ERA M

Re: svn commit: r1589446 - in /commons/proper/lang/trunk/src: main/java/org/apache/commons/lang3/time/FastDateParser.java test/java/org/apache/commons/lang3/time/FastDateParserTest.java

2014-04-23 Thread Honton, Charles
TextStrategy is used for: E - DAY_OF_WEEK G - ERA M - MONTH a - AM_PM SimpleDateFormat uses case-insensitive parsing for each of these fields. I will add tests for each of those fields in multiple Locales. The (?u)(?i) modifier is active just for the duration of the group. Consider the

Re: [CHALLENGE] Move All of Commons to the Dormant

2013-10-15 Thread Honton, Charles
This automation, along with other infrastructure to attract new developers already exists in several commercial source forges. Do Apache policies allow development to be hosted at GitHub or the like? Regards, chas On 10/15/13 8:50 AM, Gary Gregory garydgreg...@gmail.com wrote: On Tue, Oct 15,

Re: [VFS] Passing around password as byte[] instead

2013-07-08 Thread Honton, Charles
Or maybe a Password class that's tailor designed to obsfucate and zero contents... On 7/8/13 3:23 PM, sebb seb...@gmail.com wrote: On 8 July 2013 23:05, Roger L. Whitcomb roger.whitc...@actian.com wrote: I had a thought that it would be more secure to pass password data around in VFS as byte

[PMC] Alpha Binaries Release Policy (was Re: [collections] beta release - howto)

2013-04-30 Thread Honton, Charles
Is there any policy concern with publishing the binaries of alpha releases, after vote, to a Apache snapshot repository which is not replicated to Maven Central? Chas On 4/30/13 8:28 AM, sebb seb...@gmail.com wrote: On 30 April 2013 15:51, Gilles gil...@harfang.homelinux.org wrote: On Tue,

Re: [LANG] LANG-884 - OK to commit patch?

2013-04-29 Thread Honton, Charles
I am ambivalent. The change adds some, but not much extra clarity to the implementation. On the other hand, this change does change the public signatures of FormatCache. Is FormatCache considered part of the API? chas On 4/29/13 2:06 AM, sebb seb...@gmail.com wrote:

Re: [ALL] Cobertura and Parent POM

2013-04-04 Thread Honton, Charles
I recommend changing code coverage to jacoco with a skip.jacoco property. [see http://mail-archives.apache.org/mod_mbox/commons-dev/201303.mbox/%3CCD7CB15 7.23020%25charles_honton%40intuit.com%3E for reasons] Regards, chas On 4/4/13 1:03 PM, sebb seb...@gmail.com wrote: CP 28 moved Cobertura

Re: [all] replacing cobertura with jacoco in parent pom

2013-03-30 Thread Honton, Charles
I have been experimenting with jacoco in the ClassScan sandbox. I am impressed with how easy jacoco is to setup and run. Although published benchmarks show jacoco and cobertura having roughly equivalent performance impact, the maven-cobertura-plugin has a twist that makes cobertura much slower:

Re: [math] custom profiles in our pom

2012-11-19 Thread Honton, Charles
Several of the apache provided maven plugins use the convention of a define; e.g., -D skipTests -D skipITs To extend this convention, you could use -D skipCoverage Regards, chas On 11/19/12 3:22 AM, Sébastien Brisard sebastien.bris...@m4x.org wrote: Hi, 2012/11/19 Gilles Sadowski

Re: [csv] CSVFormat API names

2012-10-16 Thread Honton, Charles
Wikipedia has Delimiter separated text and Delimiter-separated values (http://en.wikipedia.org/wiki/Delimiter-separated_values) This suggests that CsvFormat, Rfc4180Format, and TsvFormat could be final classes extending DsvFormat. chas On 10/16/12 12:50 PM, Gary Gregory garydgreg...@gmail.com

Re: [configuration] POC new reloading approach

2012-10-11 Thread Honton, Charles
So the Configuration is immutable and consistent. Can the Builder clients listen for change events? Is there a separate interface to the Builder to change the configuration state and fire persist events? Thanks, chas On 10/11/12 1:09 PM, Oliver Heger oliver.he...@oliver-heger.de wrote: Hi,

Re: svn commit: r1389976 - in /commons/proper/lang/trunk/src: changes/changes.xml main/java/org/apache/commons/lang3/time/FastDateParser.java test/java/org/apache/commons/lang3/time/FastDateParserTest

2012-09-26 Thread Honton, Charles
Very cool, Thanks for a more elegant solution. chas On 9/26/12 11:14 AM, sebb seb...@gmail.com wrote: On 25 September 2012 18:26, sebb seb...@gmail.com wrote: On 25 September 2012 18:06, Honton, Charles charles_hon...@intuit.com wrote: Seems a little extreme solution. At least it allows

Re: svn commit: r1389976 - in /commons/proper/lang/trunk/src: changes/changes.xml main/java/org/apache/commons/lang3/time/FastDateParser.java test/java/org/apache/commons/lang3/time/FastDateParserTest

2012-09-25 Thread Honton, Charles
Seems a little extreme solution. Exactly where does the FastDateParser fail with non-Gregorian calendars? The parser should just be setting fields on a Calendar object which does the calculations. Are the fields being properly parsed? Is a proper Calendar object being created? chas On

Re: [configuration] Thoughts about multi-threading

2012-09-20 Thread Honton, Charles
snip This obviously makes the concurrency problem easier :) Apart from this case, it would be good to agree on exactly what it means for [configuration] to be threadsafe. Is it basically the semantics of ConcurrentHashmap? Or are there sequencing / event serialization constraints? For

Re: [math] Formatting

2012-08-23 Thread Honton, Charles
It's also important that the diff can be applied. The less consistent the formatting is, the less likely that patch will succeed. chas On 8/23/12 4:11 PM, Phil Steitz phil.ste...@gmail.com wrote: On 8/23/12 4:02 PM, Gilles Sadowski wrote: On Thu, Aug 23, 2012 at 02:15:58PM -0700, Phil Steitz

Re: another new URL() question

2012-06-11 Thread Honton, Charles
Mark, The only mechanism available to extend URLClassLoader's protocol handling in a Sun jvm is to add a URLStreamHandler. It's a difficult task to re-implement the class loading architecture, and I'm sure the application server environments don't mess with this basic. (I'm not so sure about

Re: [classscan] Metadata API discussion

2012-06-08 Thread Honton, Charles
In on my MacBook, I get the following counts for running just the unit tests: Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527) Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode) Cache: 1 BootstrapClassLoader: 1 WeakConcurrentHashMap: 1 MetaUrlClassLoader:

Re: [classscan] new URL(xxx) and it's problems

2012-06-07 Thread Honton, Charles
but an own virtual files system implementation for storing apps, like JBossAS, WebLogic, WebSphere, etc For storing URLs in a map you need to do special tricks :( LieGrue, strub - Original Message - From: Honton, Charles charles_hon...@intuit.com To: Commons Developers List dev

Re: [classscan] Metadata API discussion

2012-06-06 Thread Honton, Charles
Mark, In the BCEL implementation I originally used adapter classes which implemented the appropriate interface and delegated to the BCEL object. Unfortunately, this created a large memory footprint. The BCEL objects are not frugal with memory. I'm pretty sure we could tease apart the BCEL parts

Re: [classscan] new URL(xxx) and it's problems

2012-06-06 Thread Honton, Charles
I did originally use URLs. Due to the ugliness Mark alludes to, I moved to URIs. The biggest performance consideration was using a URL as a Key to a map. That completely blew up performance. Does anyone have a concrete example of !url.equals(new URL(url.toExternalForm()) ? Thanks, Chas On

Re: [classscan] organization

2012-06-05 Thread Honton, Charles
interested participants that IMO we really need the flexibility of multiple modules. Matt On Mon, Jun 4, 2012 at 10:47 PM, Honton, Charles charles_hon...@intuit.com wrote: I'd like to wait until we have use cases that require reorganization. I suspect that we're not going to want to replace BCEL

RE: [classscan] Build Failing...

2012-06-04 Thread Honton, Charles
James, I've tried to duplicate this issue and have failed. I removed all org.apache.bcel:bcel and bcel:bcel artifacts from my local repository and built classscan from new sandbox. I subsequently saw a bcel snapshot being downloaded. If you have any more clues as to why this fails for you,

RE: [classscan] organization

2012-06-04 Thread Honton, Charles
I'd like to wait until we have use cases that require reorganization. I suspect that we're not going to want to replace BCEL with asm, but we might need to support additional URL types. (I'm sure we're going to need to support the JBoss vfs URLs) Plugging in URL providers may be smaller than

infrastructure integration

2012-06-02 Thread Honton, Charles
Now that there is code to share in the ClassScan sandbox I'd like to get greater exposure. To that end, I would like to 1. Link the ClassScan site into the Sandbox site 2. Make SNAPSHOTS available through Nexus 3. Enable CI builds to push to Nexus and website Can anyone point me to

Re: [classscan] Source repository

2012-05-31 Thread Honton, Charles
Message - From: Konstantin Kolinko knst.koli...@gmail.com To: Commons Developers List dev@commons.apache.org Cc: Sent: Thursday, May 24, 2012 12:49 AM Subject: Re: [classscan] Source repository 2012/5/4 Honton, Charles charles_hon...@intuit.com: In order to move classscan forward, I think

Re: [POOL] documenting the public API

2012-05-04 Thread Honton, Charles
Making the public api mostly interfaces (with a few immutable value transfer classes) helps this delineation. Chas On 5/4/12 8:14 AM, sebb seb...@gmail.com wrote: I think it would be useful to try and specify upfront which public classes / methods etc are intended to form part of the public

[classscan] Source repository

2012-05-04 Thread Honton, Charles
In order to move classscan forward, I think we need a commons community repository. Is any PMC willing to create one? Thanks, chas - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail:

Re: [classpath,meiyo]

2012-04-23 Thread Honton, Charles
at 10:56 AM, Honton, Charles charles_hon...@intuit.com wrote: I've submitted an ICLA and company has submitted CCLA. I see next steps as: 1. Agree on name: meiyo or classpath? (Or something else?) Please pick a name that makes it obvious, not meiyo, classpath is OK, we can/should have

Re: [classscan]

2012-04-23 Thread Honton, Charles
, Apr 20, 2012 at 10:56 AM, Honton, Charles charles_hon...@intuit.com wrote: I've submitted an ICLA and company has submitted CCLA. I see next steps as: 1. Agree on name: meiyo or classpath? (Or something else?) Please pick a name that makes it obvious, not meiyo, classpath

Re: [classscan]

2012-04-23 Thread Honton, Charles
. Reminds me of this xkcd http://xkcd.com/927 -David On Apr 23, 2012, at 1:54 PM, Honton, Charles wrote: Can we agree on the interface before debating the implementation? Thanks, Chas On 4/22/12 10:48 AM, Mark Struberg strub...@yahoo.de wrote: Hi! Still had no time to grok the source

Re: [classscan]

2012-04-23 Thread Honton, Charles
Dave, Thanks for the history lesson. Chas On Apr 23, 2012, at 5:07 PM, David Blevins david.blev...@gmail.com wrote: On Apr 23, 2012, at 3:22 PM, Honton, Charles wrote: Where are these two solutions? Before I answer let me state I have no interest in any particular outcome. I get

[classpath,meiyo]

2012-04-20 Thread Honton, Charles
I've submitted an ICLA and company has submitted CCLA. I see next steps as: 1. Agree on name: meiyo or classpath? (Or something else?) 2. Agree on package name. 3. Create source repository. 4. Move code from GitHub (https://github.com/chonton/meiyo-sandbox) 5. Give major

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-16 Thread Honton, Charles
CCLA lists individuals, none of whom is you. ;) Hopefully this code was written on your own dime anyway, but only you and Intuit can say whether they have any claim on this IP. Matt On Thu, Apr 12, 2012 at 4:16 PM, Honton, Charles charles_hon...@intuit.com wrote: Repository (https://github.com

Re: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-12 Thread Honton, Charles
Repository (https://github.com/chonton/meiyo-sandbox/) and Reports (http://chonton.github.com/meiyo-sandbox/) have been updated. Regards, Chas On 4/11/12 1:47 PM, Honton, Charles charles_hon...@intuit.com wrote: Mark, Please look at my implementation - http://chonton.github.com/meiyo-sandbox

RE: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Honton, Charles
up and retrieve the information.  I haven't had a chance to take a look at your stuff, yet, though.  Perhaps I can get a few cycles this week. On Mon, Apr 9, 2012 at 5:29 PM, Honton, Charles charles_hon...@intuit.com wrote: There's been sporadic talk on this newsgroup since September 2010

RE: [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-11 Thread Honton, Charles
Mark, Please look at my implementation - http://chonton.github.com/meiyo-sandbox/ (I've accidently trashed my source respository, which I'll clean up tomorrow.) You can see the code through the javadoc and jxr reports. The implementation tracks classes per location (jar or folder), with

[classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata

2012-04-09 Thread Honton, Charles
There's been sporadic talk on this newsgroup since September 2010 about providing a commons component which can scan a classpath and provide metadata about the classes. I have a clean (license-wsie) concrete interface and implementation to share. This code will support the following use

[bcel] Issue 52979

2012-04-09 Thread Honton, Charles
Who can I push to get bugzilla issue 52979 [https://issues.apache.org/bugzilla/show_bug.cgi?id=52979] committed? Thanks, chas - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail:

[parent] incorrect documentation on site

2012-03-20 Thread Honton, Charles
At http://commons.apache.org/commons-parent-pom.html, the section Configuring the Java Source/Target options indicates I should use maven.compiler.source and maven.compiler.target to specify the component's compiler version — However, the pom (version 24) uses maven.compile.source and

[BCEL] 6.0 release

2012-03-19 Thread Honton, Charles
Any idea when BCEL 6.0 (with support for annotations) will be released? Is there a maven repository available for the snapshot version? Thanks, Chas - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional

RE: [ALL] Commons Parent reports

2012-03-14 Thread Honton, Charles
As a user of commons libraries, I look at several reports. I'll consult Javadoc first. In the case the javadoc is silent about behavior, I look at JXR. When I am debugging my code's interaction with the commons library, I want to have the sources available to my IDE, so that I can step

RE: [ALL] Commons Parent reports

2012-03-14 Thread Honton, Charles
Why should the developer site be any different than the release site? -Original Message- From: Gilles Sadowski [mailto:gil...@harfang.homelinux.org] Sent: Wednesday, March 14, 2012 2:18 AM To: dev@commons.apache.org Subject: Re: [ALL] Commons Parent reports On Tue, Mar 13, 2012 at

Re: [ALL] Commons Parent reports

2012-03-13 Thread Honton, Charles
When I'm researching competing open-source implementations, I use reports as part of my evaluation. The ones that are important to me are: Javadoc Findbugs Surefire Failsafe Cobertura If I'm evaluating an upgrade, I'll look at: Changes Clirr Chas Honton Le 13/03/2012 17:52, Gilles Sadowski

Re: [io] Unicode escape/unescape Writer/Reader

2012-03-07 Thread Honton, Charles
Emmanuel, Isn't this performing the function of a java.nio.charset.CharsetDecoder or a org.apache.commons.codec.StringDecoder? Regards, Chas Honton On 3/7/12 8:12 AM, Emmanuel Bourg ebo...@apache.org wrote: I now have an implementation ready for the reader in the [csv] source code:

Re: svn commit: r1295173 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java

2012-02-29 Thread Honton, Charles
Sorry about the leftover cruft. The description should be: pThe default {@link TimeZone} used to create a {@Link Date} when the {@link TimeZone} is not specified by the format pattern./p Chas Honton On 2/29/12 8:55 AM, sebb seb...@gmail.com wrote: On 29 February 2012 16:17,

Re: [lang] who's on deck for 3.0.2?

2011-10-04 Thread Honton, Charles
What about adding LANG-462? It's languished for nearly a year. The concerns stated in the issue activity are about it not being baked enough. It won't get baked unless people actually use it, which indicates it needs to be released so that it can be used. This is entirely new code, with no

Re: [math] Consistent use of ExceptionContext [was using the ExceptionContext facility]

2011-08-26 Thread Honton, Charles
I recommend reviewing Chapter 9 Exceptions of Joshua Bloch's Effective Java. In particular, look at Item 63, Include Failure-Capture Information in Detail Messages. Chas On 8/26/11 8:59 AM, Phil Steitz phil.ste...@gmail.com wrote: On 8/25/11 11:15 PM, Sébastien Brisard wrote: Hi, One thing

Re: [pool] equal instances

2011-06-11 Thread Honton, Charles
Please look at java.util.IdentityHashMap again. I think it does everything you're looking for except concurrent access. Given other requirements, I'm not sure a ConcurrentHashMap will buy much performance anyway. chas On 6/11/11 5:54 AM, Mark Thomas ma...@apache.org wrote: On 11/06/2011

Re: [POOL2] Java 1.5 or 1.6?

2011-05-06 Thread Honton, Charles
Consider ArrayBlockingQueue. It has ability to remove a specified element from queue. Also, it is bounded, which is probably desirable. Chas On 5/6/11 11:35 AM, Mark Thomas ma...@apache.org wrote: On 06/05/2011 16:24, Phil Steitz wrote: On 5/6/11 3:43 AM, Mark Thomas wrote: Before I go too

RE: [VOTE] Release Commons Lang 3.0 Beta.1

2010-07-30 Thread Honton, Charles
-1, Still desire patch for LANG-462 applied. chas

RE: [VOTE] Release Commons Lang 3.0 Beta.1

2010-07-21 Thread Honton, Charles
I would love to see Lang-462 https://issues.apache.org/jira/browse/LANG-462 included. Thanks, chas -Original Message- From: Henri Yandell [mailto:flame...@gmail.com] Sent: Tuesday, July 20, 2010 8:01 PM To: Commons Developers List Subject: [VOTE] Release Commons Lang 3.0 Beta.1

[lang] When is next release of commons-lang planned?

2010-06-28 Thread Honton, Charles
Be it alpha, beta, or full release: when is a version 3 of commons-lang going to be available? Thanks, chas