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" wrote: >On 23 April 2014 21:19, Honton, Charles wrote: >> TextStrategy is used for: >> E - DAY_OF_WEEK >> G - ERA >>

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 following

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" wrote: >On Tue, Oct 15, 2013 at 11:30 AM, R

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" wrote: >On 8 July 2013 23:05, Roger L. Whitcomb wrote: >> I had a thought that it would be more secure to pass password data >> around in VFS as byte arrays instead of String objects so

[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" wrote: >On 30 April 2013 15:51, Gilles wrote: > >> On Tue, 30 Apr 2013 07:36:10 -0700, Phil Steitz

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" wrote: >https://issues.apache.org/jira/br

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" wrote: >CP 28 moved Cobertura to a profile c

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" wrote: >Hi, > > >2012/11/19 Gilles Sadowski > >> On Mon, Nov 19, 2012 a

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" wrote: >On Tue, O

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" wrote: >Hi, > >in the last few days I ha

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" wrote: >On 25 September 2012 18:26, sebb wrote: >> On 25 September 2012 18:06, Honton, Charles >>wrote: >>> Seems a little extreme solution. >> >> At least it

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 9/25/1

Re: [configuration] Thoughts about multi-threading

2012-09-20 Thread Honton, Charles
>>> >>> 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 cons

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" wrote: >On 8/23/12 4:02 PM, Gilles Sadowski wrote: >> On Thu, Aug 23, 2012 at 02:15:58PM -0700, Phil Steitz wrote: >>> On 8/2

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 the

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: 2

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

2012-06-07 Thread Honton, Charles
t use the native file system 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 - >>

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 6

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] organization

2012-06-05 Thread Honton, Charles
c. We have so many interested participants that IMO we really need >the flexibility of multiple modules. > >Matt > >On Mon, Jun 4, 2012 at 10:47 PM, Honton, Charles > wrote: >> I'd like to wait until we have use cases that require reorganization. >>I suspect that we&#

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

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, p

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 doc

Re: [classscan] Source repository

2012-05-31 Thread Honton, Charles
eview Charles work :( >> >> LieGrue, >> strub >> >> >> >> - Original Message - >>> From: Konstantin Kolinko >>> To: Commons Developers List >>> Cc: >>> Sent: Thursday, May 24, 2012 12:49 AM >>>

[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: d

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" 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 API, to >distin

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" 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 parti

Re: [classscan]

2012-04-23 Thread Honton, Charles
ved that twice. > >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 >> >> >>

Re: [classscan]

2012-04-23 Thread Honton, Charles
scope (not necessarily a bad thing). >> >> Matt >> >> On Fri, Apr 20, 2012 at 10:09 AM, Gary Gregory >> wrote: >>> On Fri, Apr 20, 2012 at 10:56 AM, Honton, Charles >> >>> wrote: >>> >>>> I've submitted an ICL

Re: [classpath,meiyo]

2012-04-23 Thread Honton, Charles
ity work [classscan] >based on his "classscanner" name. I lean here, but could possibly be >persuaded to [classpath] which name suggests a slightly larger >potential scope (not necessarily a bad thing). > >Matt > >On Fri, Apr 20, 2012 at 10:09 AM, Gary Gregory &

[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 contributo

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

2012-04-16 Thread Honton, Charles
ICLA on file and Intuit's 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 &g

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" wrote: >Mark, > >Please look at my implementation - >http://chonton.github.com/meiyo-san

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 multip

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

2012-04-11 Thread Honton, Charles
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 > wrote: >> There's been sporadic talk on this newsgroup since September 2010 a

[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: dev-h...

[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 cases

[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 maven.co

[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 com

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 06:37:

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 throug

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: svn commit: r1298215 - in /commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv: CharBuffer.java ExtendedBufferedReader.java UnicodeUnescapeReader.java

2012-03-08 Thread Honton, Charles
I've found the @Override annotation useful to detect when you didn't intend to override a method. For example, using Eclipse warnings, I found a finalize() method. This method was explicitly called from another class. I'm pretty sure the original author did not intend the garbage collector to ca

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" wrote: >I now have an implementation ready for the reader in the [csv] source >code: > >https://svn.apache.or

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: The default {@link TimeZone} used to create a {@Link Date} when the {@link TimeZone} is not specified by the format pattern. Chas Honton On 2/29/12 8:55 AM, "sebb" wrote: >On 29 February 2012 16:17, wrote: >> Author: ggregory >> Da

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 othe

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" wrote: >On 8/25/11 11:15 PM, Sébastien Brisard wrote: >> Hi, >> >>> One thing that

Re: [compress] close() and archives/streams in an invalid state

2011-08-17 Thread Honton, Charles
Why guard against closing System.in? If the client application needs that sort of functionality, it should wrap the incoming stream in a proxy that doesn't delegate the close method to the underlying stream. (A new class for commons-io?) Chas Honton On 8/16/11 11:16 PM, "sebb" wrote: >On 17

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" wrote: >On 11/06/2011 08:44, Phil Steitz

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" wrote: >On 06/05/2011 16:24, Phil Steitz wrote: >> On 5/6/11 3:43 AM, Mark Thomas wrote: >>> Before I go too far down

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 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