Re: [BeanUtils2] WeakHashMap is not a cache (?)

2012-08-13 Thread Adrian Crum
Apache OFBiz has a soft reference cache implementation. -Adrian On 8/13/2012 1:07 PM, Simone Tripodi wrote: guten morgen Bene, I have not a strong opinion about it, I am convinced anyway that the original BU authors (BU2 at the beginning was a tentative to refurbish BU) adopted the WeakHashMap

Re: [BeanUtils2] WeakHashMap is not a cache (?)

2012-08-13 Thread Adrian Crum
/simonetripodi http://www.99soft.org/ On Mon, Aug 13, 2012 at 3:19 PM, Adrian Crum wrote: Apache OFBiz has a soft reference cache implementation. -Adrian On 8/13/2012 1:07 PM, Simone Tripodi wrote: guten morgen Bene, I have not a strong opinion about it, I am convinced anyway that the original BU

Re: [ANNOUNCEMENT] Apache Commons grants write access to all ASF committers

2014-12-17 Thread Adrian Crum
The challenge will be to keep Jira up-to-date. I would like to wrap up some Jira issues too, but ASF committers do not have edit permissions in Commons Jira. Adrian Crum Sandglass Software www.sandglass-software.com On 12/18/2014 2:42 AM, Carl Hall wrote: Very cool! I've been di

Re: [VOTE] Release Apache Commons Validator 1.4.1 based on RC1

2014-12-26 Thread Adrian Crum
It would be nice if the maintenance release included this fix: https://issues.apache.org/jira/browse/VALIDATOR-307 I was planning on working on it this weekend. Adrian Crum Sandglass Software www.sandglass-software.com On 12/26/2014 3:00 PM, Benedikt Ritter wrote: Hello, We have received

Re: svn commit: r1648642 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java

2014-12-30 Thread Adrian Crum
Be aware that the file contains encoded Chinese TLDs (XN--*). So, it needs additional parsing. Adrian Crum Sandglass Software www.sandglass-software.com On 12/30/2014 5:23 PM, s...@apache.org wrote: Author: sebb Date: Wed Dec 31 01:23:26 2014 New Revision: 1648642 URL: http://svn.apache.org

Re: svn commit: r1649038 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java

2015-01-02 Thread Adrian Crum
Thank you for fixing that. I had my IDE set for Java 1.4 but somehow it let me use that method anyway. Adrian Crum Sandglass Software www.sandglass-software.com On 1/2/2015 6:17 AM, s...@apache.org wrote: Author: sebb Date: Fri Jan 2 14:17:48 2015 New Revision: 1649038 URL: http

Re: Commons Dev List Activity Levels

2015-01-06 Thread Adrian Crum
You can set up your email client to filter out messages you are not interested in. Adrian Crum Sandglass Software www.sandglass-software.com On 1/6/2015 3:37 PM, Christopher wrote: Hi, With the recent announcement about commits to commons being opened up, I joined the dev@commons.apache.org

Re: [ALL] staging and production website commit mails now got to notifications@

2015-01-19 Thread Adrian Crum
Thanks! Adrian Crum Sandglass Software www.sandglass-software.com On 1/19/2015 12:46 PM, sebb wrote: It looks as though the notifications@commons.a.o mailing list is finally being used for: buildbot commits website publication This should reduce the noise on the commits@ mailing list

Re: [collections] Revert a performance related fix in 4.1

2015-01-24 Thread Adrian Crum
uced the code by one line, but there was no "performance improvement" - because the StringBuilder constructor calls append(). So, I agree that suggested performance improvements should be met with a great deal of skepticism and they should be closely scrutinized. Adrian Crum Sandg

Re: org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8_1

2015-04-25 Thread Adrian Crum
I can do that. Adrian Crum Sandglass Software www.sandglass-software.com On 4/25/2015 9:56 AM, Gary Gregory wrote: Is there anyone with a Windows 8.1 system available to implement and test a new method org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8_1? Thank you, Gary

Re: [Git] drop SVN repos for components using Git?

2015-05-08 Thread Adrian Crum
Do the Git repos include the Subversion commit history? Adrian Crum Sandglass Software www.sandglass-software.com On 5/8/2015 8:53 AM, sebb wrote: Is there any point in keeping the SVN repos for components that have moved to Git? They are read-only (or should be) and are not synchronised with

Re: [dbutils] Adding fluent api

2015-07-01 Thread Adrian Crum
You can make the builder support generic SQL 2003, and provide a way to extend the builder with vendor-specific grammar. Adrian Crum Sandglass Software www.sandglass-software.com On 6/30/2015 11:10 PM, Benedikt Ritter wrote: Hello Mansour, 2015-06-30 23:57 GMT+02:00 Mansour Al Akeel : I am

Re: need some help

2015-09-02 Thread Adrian Crum
or Commons-Convert. Adrian Crum Sandglass Software www.sandglass-software.com On 9/2/2015 12:53 PM, Gary Gregory wrote: You can also look at incubating projects like Commons-RDF. Gary On Wed, Sep 2, 2015 at 12:39 PM, Arsen Babakhanyan wrote: My problem that i am currently trying to figure

[validator] Inconsistent behavior in UrlValidator

2015-09-25 Thread Adrian Crum
to me that it shouldn't - to be consistent with the localhost behavior. What do you think? -- Adrian Crum Sandglass Software www.sandglass-software.com - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For addit

Re: [validator] Inconsistent behavior in UrlValidator

2015-09-27 Thread Adrian Crum
The address range 127.0.0.0 to 127.255.255.255 is reserved for loopback testing. It seems pretty straightforward to me. Adrian Crum Sandglass Software www.sandglass-software.com On 9/27/2015 8:07 AM, Kristian Rosenvold wrote: 127.0.0.1 is not always the address for localhost. This is a can of

Re: [VOTE] Release Validator 1.5.0 based on RC1

2015-11-19 Thread Adrian Crum
ant build completely? I have the same problem with a number of Commons projects. I prefer to use ant (since Commons poms are huge black boxes), but the ant builds aren't kept current. I agree the ant build files should be dropped if no one is willing to maintain them. Adrian Crum Sand

Re: [VOTE] Release commons-io 2.5 based on RC1

2015-11-25 Thread Adrian Crum
I had the same maven errors while working on IO-487, but I assumed it was because my local copy was not set up correctly. The TailerTest fails intermittently with or without Cobertura. Adrian Crum Sandglass Software www.sandglass-software.com On 11/24/2015 5:36 PM, Gary Gregory wrote: Just

Re: [Commons Wiki] Update of "BuildSystems" by ChristianGrobmeier

2012-01-08 Thread Adrian Crum
Commons Convert isn't on the Sandbox list. It supports Ant and Maven 2. -Adrian On 1/8/2012 2:57 PM, Ralph Goers wrote: This page is seriously out of date. I took a look at several components that have "Yes" on Maven 1 and none of them have a project.xml so wouldn't be able to build with Maven

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Adrian Crum
On 1/24/2012 6:58 PM, Matt Benson wrote: IMO the difference between [lang]'s and [functor]'s range concepts is that those in [lang] are intended to be able to say whether a given value is in the Range, but, with the exception of CharRange (this class is not even public), they make no provision

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Adrian Crum
On 1/24/2012 8:15 PM, Matt Benson wrote: Thanks for your interest, Adrian! Comments inline: On Tue, Jan 24, 2012 at 1:58 PM, Adrian Crum wrote: On 1/24/2012 6:58 PM, Matt Benson wrote: IMO the difference between [lang]'s and [functor]'s range concepts is that those in [lang] ar

Re: [functor] CharacterRange, FloatRange, DoubleRange and open/closed intervals

2012-01-24 Thread Adrian Crum
, lastInt); Iterator intSeqIterator = RangeIteratorFactory.getInstance(intRange, 3); -Adrian On 1/24/2012 9:10 PM, Bruno P. Kinoshita wrote: Sounds great for me too :) Cheers, Bruno P. Kinoshita http://kinoshita.eti.br http://tupilabs.com - Mensagem original - De: Adrian Crum

Re: [lang] What about Duration class? (org.apache.commons.lang.time)

2012-01-26 Thread Adrian Crum
On 1/26/2012 6:59 AM, Henri Yandell wrote: On Wed, Jan 25, 2012 at 2:14 PM, Christian Grobmeier wrote: On Wed, Jan 25, 2012 at 9:17 PM, Benedikt Ritter wrote: But i found only discussions about duration&joda-time dated 2004. (http://markmail.org/thread/733yqv5zwzsngj3j) Now i really ne

Re: Conversion utility class

2012-02-04 Thread Adrian Crum
Have you seen Commons Convert? http://commons.apache.org/sandbox/convert/ -Adrian On 2/4/2012 5:38 AM, ma...@nimp.co.uk wrote: Hello, I am developing a utility class and would like to contribute it to an Apache project. I am writing to know if Apache commons is the right project, which sub pr

Re: Conversion utility class

2012-02-05 Thread Adrian Crum
beans or eclipse can... Sebastien Original Message: - From: Adrian Crum adrian.c...@sandglass-software.com Date: Sat, 04 Feb 2012 16:53:25 + To: dev@commons.apache.org Subject: Re: Conversion utility class Have you seen Commons Convert? http://commons.apache.org/sandbox/co

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Adrian Crum
Personally, I despise single character parameters/variable names. Seriously, is it that much work to type a few extra characters and make the name meaningful? -Adrian On 3/14/2012 1:33 PM, sebb wrote: I noticed that some of the CSV methods uses "int l" (ell). This is unfortunately very simila

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Adrian Crum
it's confusing. -Adrian On 3/14/2012 5:11 PM, sebb wrote: On 14 March 2012 16:39, Adrian Crum wrote: Personally, I despise single character parameters/variable names. Seriously, is it that much work to type a few extra characters and make the name meaningful? Sometimes single char names a

Re: Git support?

2012-05-19 Thread Adrian Crum
+1 on trying it out on a single component. -Adrian On 5/19/2012 9:08 AM, Luc Maisonobe wrote: Le 16/05/2012 15:41, Jochen Wiedmann a écrit : Well, with our multitude of projects, it might make sense to ask for one or two of them being migrated, so that we gather the experience. (I've got none

Re: svn commit: r1348334 - in /commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub: AnnotationFactory.java StubConfigurer.java

2012-06-09 Thread Adrian Crum
Actually, that cast should not be necessary. Try return AnnotationFactory.getStubType(); -Adrian On 6/9/2012 12:05 PM, sebb wrote: On 9 June 2012 08:54, wrote: Author: mbenson Date: Sat Jun 9 07:54:02 2012 New Revision: 1348334 URL: http://svn.apache.org/viewvc?rev=1348334&view=rev Log: ge

Re: [collections] Cleanup of trunk

2012-06-24 Thread Adrian Crum
On 6/24/2012 12:25 PM, sebb wrote: On 24 June 2012 10:28, Thomas Neidhart wrote: Hi, I recently started to work more on collections and cleaning up the trunk to make it a candidate for a release and would like to ask a few questions: - there is still lots of javadoc missing, moving the sour

Re: [ALL] Commons JMS Project

2012-07-10 Thread Adrian Crum
I would like to be involved with this once it has found a home. -Adrian On 7/9/2012 9:12 PM, Scott England-Sullivan wrote: Hello, I have developed a new component for the Apache Camel project written using pure Java JMS APIs (the current component is a Spring JMS wrapper). There have been req

Re: [all] Is this disguised fishing?

2012-07-12 Thread Adrian Crum
I haven't received that specific email, but I always reply back that any discussions about Apache projects should be kept on the mailing lists. -Adrian On 7/12/2012 1:48 PM, Sébastien Brisard wrote: Dear all, please find below a message I've received. It was sent to my apache address, which I

Re: [ALL] Why does Javadoc take so long?

2010-11-11 Thread Adrian Crum
I usually change the Java source code to a small italic font so the parsing will go faster. -Adrian On 11/11/2010 3:09 PM, sebb wrote: I've been testing the NET build, and find that the javadoc phases take ages - 5 or 6 minutes each for main and test. Is this normal, or is there something I c

Re: svn commit: r1035190 - in /commons/proper/vfs/trunk: ./ core/src/main/java/org/apache/commons/vfs2/impl/ core/src/main/java/org/apache/commons/vfs2/provider/ core/src/main/java/org/apache/commons/

2010-11-15 Thread Adrian Crum
On 11/15/2010 11:12 AM, sebb wrote: On 15 November 2010 08:58, wrote: Author: rgoers Date: Mon Nov 15 08:58:37 2010 New Revision: 1035190 URL: http://svn.apache.org/viewvc?rev=1035190&view=rev Log: Sandbox was not dependent on vfs2. Convert many StringBuffers to StringBuilder. That has broke

Re: About collections and generics

2010-12-29 Thread Adrian Crum
The project was written for a JRE earlier than 1.5. Change your Eclipse project settings to use a compiler prior to 1.5. -Adrian On 12/29/2010 12:18 PM, Michael Giannakopoulos wrote: Hello to all of you guys, I would like to ask a trivial for most of you question... As i see the source code in

Re: About collections and generics

2010-12-29 Thread Adrian Crum
That is correct. Some of the commons libraries have existed for a long time, and they are written to work with older JRE versions for backward compatibility. Newer releases are written for newer JREs. -Adrian --- On Wed, 12/29/10, Michael Giannakopoulos wrote: > Hello Andrian, > > Thanks for

Re: [pool] help needed for pool2.0 - proposal for a release plan

2011-01-23 Thread Adrian Crum
Two books I found valuable for working on Java concurrency: 1. Java Concurrency In Practice, by Brian Goetz 2. Concurrent Programming In Java, by Doug Lea -Adrian On 1/23/2011 11:02 AM, Simone Tripodi wrote: Hi Phil!!! don't worry, no apologizes are needed, that's open source and we all partic

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Adrian Crum
From my perspective, if DEFAULT_STRATEGY, EXCEL_STRATEGY, or TDF_STRATEGY are mutable, then copies of them should be returned in a factory method. Ideally, a selector would be passed to a factory method: CSVStrategy strategy = CSVStrategy.getInstance(CSVStrategy.DEFAULT_STRATEGY); -Adrian O

RE: [csv] Fixes for commons-csv

2011-02-01 Thread adrian . crum
Having a JDBC driver would make using CSV files a lot simpler. If the "guts" were pluggable, you could use the same driver for SDF files, Excel files, Open Doc data, etc. -Adrian Quoting Gary Gregory : Hi All, I've just come across the need to do CSV work but from the JDBC POV. This made

Re: [Math - 403] Never propagate a "NullPointerException" resulting from bad usage of the API

2011-03-02 Thread Adrian Crum
I agree with this view. It would help the developer who uses CM if the library told him/her what they did wrong ("argument 'foo' cannot be null") instead of a simple exception thrown message ("NullPointerException thrown at line nnn of class Xyz"). -Adrian On 3/2/2011 3:37 AM, Gilles Sadowsk

Re: [lang3] Pair

2011-03-04 Thread Adrian Crum
+1 on the Association interface. The Tuple interface looks like a Collection, even more so when it expands to more than two elements. -Adrian On 3/4/2011 11:24 AM, Gary Gregory wrote: Can we talk about the class name and use cases? For me a pair evokes similarity: a pair of shoes, a pair of

Re: [lang] Why is a Range not a Pair?

2011-03-17 Thread Adrian Crum
A range could also be viewed as an interval - in which case lowerBound and upperBound would make more sense. I imagine it depends on your perspective, or your interpretation of what a "range" is. -Adrian On 3/17/2011 9:03 AM, Gary Gregory wrote: Why is a Range not a Pair? Because... is it fa

Re: [ALL] consistent website page titles

2011-03-27 Thread Adrian Crum
The last time I tried to deploy Sandbox Convert, nothing happened. I think the recent Maven changes may have affected something. I would be happy to update the site otherwise. -Adrian On 3/27/2011 6:33 AM, sebb wrote: Our website page titles are currently rather inconsistent: For example, sa

Re: [ALL] @authors tags

2011-04-04 Thread Adrian Crum
On 4/4/2011 2:22 PM, Phil Steitz wrote: On 4/4/11 2:18 PM, Torsten Curdt wrote: I thought we had settled on '@author Apache Software Foundation', Did we? TBH I find that pretty pointless and nothing more than noise. I'd be in favor of removing them all together. I agree with Torsten. I got st

Re: [ALL] @authors tags

2011-04-05 Thread Adrian Crum
The author information in the pom file is also redundant - it already exists in greater detail in the commit logs. -Adrian On 4/5/2011 5:31 AM, Simone Tripodi wrote: authors/contributors are enlisted on the pom in the and section http://people.apache.org/~simonetripodi/ http://www.99soft.o

Re: [ALL] @authors tags

2011-04-05 Thread Adrian Crum
n 4/5/2011 8:41 AM, Jochen Wiedmann wrote: On Tue, Apr 5, 2011 at 5:35 PM, Adrian Crum wrote: The author information in the pom file is also redundant - it already exists in greater detail in the commit logs. 1.) Authors aren't necessarily committers. That's what the "contribut

Re: [Lang] Pair toString

2011-04-11 Thread Adrian Crum
Why not make your custom Pair class a delegator? -Adrian On 4/11/2011 7:00 AM, Gary Gregory wrote: Hi All: I added a test to verify the default Pair toString behavior. For me to replace our custom Pair class at work, I need to customize the to String behavior. Subclassing ImmutablePair and M

Re: [Lang] Pair toString

2011-04-11 Thread Adrian Crum
Delegating is trivial in Eclipse - it will write the code for you. As for delegating versus "rolling your own" - delegating leverages the code maturity and unit tests of the delegate. -Adrian On 4/11/2011 9:16 AM, Gary Gregory wrote: On Mon, Apr 11, 2011 at 10:12 AM, Matt Benson wrote: On

Re: [Lang] Pair toString

2011-04-11 Thread Adrian Crum
t; pattern over the "is a" pattern - that's why I suggested delegation. -Adrian On 4/11/2011 9:30 AM, Gary Gregory wrote: On Mon, Apr 11, 2011 at 12:19 PM, Adrian Crum< adrian.c...@sandglass-software.com> wrote: Delegating is trivial in Eclipse - it will write the code f

Re: svn commit: r1094224 - in /commons/proper/compress/trunk/src: changes/changes.xml main/java/org/apache/commons/compress/archivers/zip/ZipFile.java

2011-04-17 Thread Adrian Crum
A suggestion: if the library has logging capability, then log a warning saying that the archive was closed in the finalize method. That will serve as a clue to the library user that they forgot to close the archive. -Adrian On 4/17/2011 9:28 PM, bode...@apache.org wrote: Author: bodewig Date:

Re: [pool] replacing numeric/byte constants with Java5 enums

2011-04-25 Thread Adrian Crum
It would be interesting to see how an int wrapper would perform on Android. -Adrian On 4/25/2011 2:21 PM, Stephen Williams wrote: Note that, as of Android 2.2's Dalvik at least, that Java5 enums are much much slower than using constants. For anything that gets used frequently, and that might

Re: [lang] NullArgumentException usage

2011-07-07 Thread Adrian Crum
I use an Assert class (similar to commons Validate): Assert.notNull(argName, arg); http://ci.apache.org/projects/ofbiz/site/javadocs/org/ofbiz/base/util/Assert.html The difference is it throws IllegalArgumentException. -Adrian On 7/7/2011 5:56 PM, Gary Gregory wrote: Hi All: I do like usin

Re: [ognl] SVN $ID and @author

2011-10-15 Thread Adrian Crum
On 10/15/2011 1:37 PM, sebb wrote: On 15 October 2011 13:16, Emmanuel Bourg wrote: -0 on the @author tag since I'm not involved in OGNL. I find it a bit rude to remove the signature from someone else work. But feel free to remove your own name. Indeed, one should ideally get permission to rem

Re: [SANDBOX][CONVERTER] who's taking care?

2011-10-25 Thread Adrian Crum
I am taking care of it, but it hasn't been updated in awhile because all of the recent Maven work broke the build/deploy process. -Adrian On 10/25/2011 5:33 PM, Simone Tripodi wrote: Hi all guys, I need something similar to Converter and of course I don't want to reinvent the wheel - I have an

Re: [SANDBOX][CONVERTER] who's taking care?

2011-10-26 Thread Adrian Crum
~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Tue, Oct 25, 2011 at 7:17 PM, Adrian Crum wrote: I am taking care of it, but it hasn't been updated in awhile because all of the recent Maven work broke the build/deploy process

Re: [SANDBOX][CONVERTER] who's taking care?

2011-10-26 Thread Adrian Crum
On 10/26/2011 10:36 PM, Matt Benson wrote: On Wed, Oct 26, 2011 at 3:42 PM, Simone Tripodi wrote: Hi Adrian! nice to see you involved here! So, I took few time to reorganize my ideas and I would like to discuss with you how to make a new [convert] component,. For what I can see, the bigger p

[SANDBOX] Problem with mvn deploy

2011-10-26 Thread Adrian Crum
When I try to deploy the Commons Sandbox Convert project, I get the following error: [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from apache.snapshots.https [INFO] repository metadata for: 'snapshot org.apache.commons:commons-convert:1.0 -SNAPSHOT'

Re: [SANDBOX] Problem with mvn deploy

2011-10-27 Thread Adrian Crum
[1] http://wiki.apache.org/commons/UsingNexus http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Thu, Oct 27, 2011 at 5:33 AM, Adrian Crum wrote: When I try to deploy the Commons Sandbox Convert project, I

Re: [SANDBOX] Problem with mvn deploy

2011-10-27 Thread Adrian Crum
On Thu, Oct 27, 2011 at 12:28 PM, Adrian Crum wrote: Thanks Simone! I created the settings.xml file and security-settings.xml file in my .m2 folder as described on the websites, but I still get the same error. Are there any configuration xml file examples somewhere that I can copy and modify fo

Re: [SANDBOX] Problem with mvn deploy

2011-10-27 Thread Adrian Crum
https {encryptedpassword} http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Thu, Oct 27, 2011 at 12:49 PM, Adrian Crum wrote: Thanks Simone! I tried the encryption again - same error. -Adrian On 10/27/2011 11:36 AM, S

Re: [SANDBOX] Problem with mvn deploy

2011-10-27 Thread Adrian Crum
/simonetripodi http://www.99soft.org/ On Thu, Oct 27, 2011 at 1:00 PM, Adrian Crum wrote: That solved the problem - thanks! -Adrian On 10/27/2011 11:54 AM, Simone Tripodi wrote: ouch, that's such a shame ;( poor-man question: did you add the servers in the settings.xml

Re: [SANDBOX] Problem with mvn deploy

2011-10-27 Thread Adrian Crum
/ On Thu, Oct 27, 2011 at 1:08 PM, Adrian Crum wrote: One last question: I ran mvn site and mvn deploy - will those commands update the website? -Adrian On 10/27/2011 12:05 PM, Simone Tripodi wrote: Cool, nice to hear that!!! All the best, Simo http://people.apache.org/~simonetripodi/ http

Re: [SANDBOX] Problem with mvn deploy

2011-10-27 Thread Adrian Crum
Well... since the site is generated automatically, I have no idea how to change the logo. -Adrian On 10/27/2011 5:46 PM, Gary Gregory wrote: Almost: the logo needs a TM. ;) Gary On Oct 27, 2011, at 12:31, Adrian Crum wrote: The Commons Convert website is now up to date: http

Re: [SANDBOX] Problem with mvn deploy

2011-10-27 Thread Adrian Crum
-logo-white.xcf you can modify the .xcf with TheGimp and regenerate the png HTH!!! Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Thu, Oct 27, 2011 at 8:00 PM, Adrian Crum wrote: Well... since the

Re: [convert] API Discussion...

2011-11-04 Thread Adrian Crum
The source and target classes are used by the Converter.canConvert method. The Converter.canConvert method is used by the Converter factory to find the correct converter. The reason parameterized types are not used in this scenario is so you can create converters that handle entire class hierar

Re: [convert] API Discussion...

2011-11-04 Thread Adrian Crum
each individual converter On Nov 4, 2011 5:55 AM, "Adrian Crum" wrote: The source and target classes are used by the Converter.canConvert method. The Converter.canConvert method is used by the Converter factory to find the correct converter. The reason parameterized types are not used i

Re: [convert] API Discussion...

2011-11-04 Thread Adrian Crum
From my perspective, it would be preferable to keep the community involved in the design decisions. -Adrian On 11/4/2011 11:15 AM, James Carman wrote: I don't have to submit a patch. I am a commons committer On Nov 4, 2011 5:55 AM, "Adrian Crum" wrote: The source and target c

Re: [convert] API Discussion...

2011-11-04 Thread Adrian Crum
, 2011 7:20 AM, "Adrian Crum" wrote: From my perspective, it would be preferable to keep the community involved in the design decisions. -Adrian On 11/4/2011 11:15 AM, James Carman wrote: I don't have to submit a patch. I am a commons committer On Nov 4, 2011 5:55 AM, "

Re: [convert] API Discussion...

2011-11-04 Thread Adrian Crum
James Carman wrote: A branch would work just fine for that situation. Also, let's keep in mind that this component is in the sandbox On Nov 4, 2011 7:28 AM, "Adrian Crum" wrote: Not so that someone else can commit them, so that others can review them and comment on them. -Adrian

Re: [csv] Java 5?

2011-11-10 Thread Adrian Crum
On 11/10/2011 12:19 PM, James Carman wrote: On Thu, Nov 10, 2011 at 4:11 AM, Emmanuel Bourg wrote: Do you have another name in mind? Not really. We could derive "Doofus" from Delimited-File Streams. :) Or "Delfis" -Adrian -

Re: [csv] API design

2011-11-29 Thread Adrian Crum
On 11/29/2011 2:26 PM, Emmanuel Bourg wrote: Le 29/11/2011 14:43, Matt Benson a écrit : Well, assuming "header-free" CSV output you could do any odd thing like: foo;bar;(2);element1;element2; giving an open-ended format. Not saying such would be the greatest idea, but could be usable under t

Re: [JEXL] Jexl 2.1?

2011-12-02 Thread Adrian Crum
Some of the release requirements are specific to Commons, not the ASF in general. -Adrian On 12/2/2011 4:34 PM, Christian Grobmeier wrote: On Fri, Dec 2, 2011 at 5:14 PM, henrib wrote: Of course I am frustrated; I'm old enough to know it will pass... More importantly, I now need to re-evalu

Re: [lang] - Request to add a wrapper class for StringBuilder to handle the adding of suffixes and prefixes in output strings in certain cases.

2011-12-15 Thread Adrian Crum
It seems to me it would be simpler to implement a String format extension for specifying collections (%l): “Please specify the following: %l%n“, [Name, Cell, Email Address] -Adrian On 12/15/2011 11:25 AM, James Carman wrote: At first glance, I don't know how "general" this is. It seems very

Re: [CSV] Finishing v1.0

2013-03-19 Thread Adrian Crum
I would be interested in helping too. -Adrian On 3/19/2013 12:53 PM, Gary Gregory wrote: I am interested in seeing it through a 1.0. Let's make sure we like the API... Gary On Tue, Mar 19, 2013 at 8:39 AM, Benedikt Ritter wrote: Hi all, we have this request [1] from the Any23 community r

Re: [CSV] Finishing v1.0

2013-03-20 Thread Adrian Crum
ets can be postponed. IMO the only items that must be fixed are regressions (not possible for first release of course). Also if there is new code with a bad API, that needs to be fixed before first release as it may be impossible to fix later without causing lots of trouble, Benedikt 2013/3

Re: [CSV] Finishing v1.0

2013-03-20 Thread Adrian Crum
013/3/20 Adrian Crum There is a part of the API that I don't like - the CSVStrategy class is mutable. I can't imagine a file's strategy changing mid-file, so from my perspective the class should be immutable. Plus, the previous version used a builder pattern that I liked. -Adrian

Re: [CSV] Finishing v1.0

2013-03-20 Thread Adrian Crum
Okay, that looks better. -Adrian On 3/20/2013 8:52 AM, Benedikt Ritter wrote: That build is dated 30-Jul-2007. Please have a look at trunk in SVN ;-) Benedikt 2013/3/20 Adrian Crum I grabbed the latest build: http://people.apache.org/** builds/commons/nightly/**commons-csv/<h

Re: [CSV] Finishing v1.0

2013-03-21 Thread Adrian Crum
The CSV site is very confusing: 1. The nightly build is not current. 2. The "JavaDoc (latest)" link points to an API that does not match the latest API. -Adrian On 3/20/2013 8:59 AM, Adrian Crum wrote: Okay, that looks better. -Adrian On 3/20/2013 8:52 AM, Benedikt Ritter wr

Re: [CSV] Finishing v1.0

2013-03-21 Thread Adrian Crum
] -Adrian On 3/21/2013 9:38 AM, Adrian Crum wrote: The CSV site is very confusing: 1. The nightly build is not current. 2. The "JavaDoc (latest)" link points to an API that does not match the latest API. -Adrian On 3/20/2013 8:59 AM, Adrian Crum wrote: Okay, that lo

Re: [CSV] Problems building the page Was: [CSV] Finishing v1.0

2013-03-21 Thread Adrian Crum
2013 at 7:14 AM, Benedikt Ritter wrote: 2013/3/21 Adrian Crum Running mvn site generates an error: [ERROR] BUILD ERROR [INFO] --**--** [INFO] Error during page generation Embedded error: Error rendering Maven report: org.

Re: [CSV] Problems building the page Was: [CSV] Finishing v1.0

2013-03-21 Thread Adrian Crum
lol - NOW you ask me. I think it was 2.2. -Adrian On 3/21/2013 4:12 PM, Gary Gregory wrote: What version did you use before? Gary On Thu, Mar 21, 2013 at 11:35 AM, Adrian Crum < adrian.c...@sandglass-software.com> wrote: I upgraded to Maven 3.0.5 and the problem was solved.

Re: [CSV] Extract interfaces?

2013-03-24 Thread Adrian Crum
On 3/23/2013 12:59 PM, Thomas Neidhart wrote: On 03/23/2013 12:41 PM, Benedikt Ritter wrote: Hi, while looking through the code, I was asking myself why we expose implementation classes. Wouldn't it be better to extract interfaces from CSVParser, CSVPrinter and CSVRecord? At least for the CSVRe

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

2013-03-25 Thread Adrian Crum
Is there any way a project can select its own code coverage tool? I don't like the top-down, all-or-nothing approach to Commons build files. -Adrian On 3/25/2013 10:01 AM, Luc Maisonobe wrote: Hi all, We have already discussed about some problems with the cobertura maven plugin (see

Re: svn commit: r1461134 - in /commons/proper/csv/trunk/src: main/java/org/apache/commons/csv/ test/java/org/apache/commons/csv/

2013-03-26 Thread Adrian Crum
I like the idea of improving the JavaDoc. The DEFAULT field was very intuitive. -Adrian On 3/26/2013 2:14 PM, Gary Gregory wrote: On Tue, Mar 26, 2013 at 10:06 AM, Emmanuel Bourg wrote: Le 26/03/2013 14:58, ggreg...@apache.org a écrit : -public static final CSVFormat DEFAULT = // TODO

Re: [ALL] Cobertura and Parent POM

2013-04-04 Thread Adrian Crum
Thank you for working on this. The original proposal was to replace Cobertura with something else. I asked that the sub projects have an option to use whatever reporting tool they want. So, it would be fine if some other reporting tool was the default as long as sub projects can use something

Re: [CSV] Should the Builder API be optional?

2013-04-09 Thread Adrian Crum
True. Users are free to create their own facade to make object construction easier. -Adrian On 4/9/2013 6:22 AM, Gary Gregory wrote: WRT org.apache.commons.csv.CSVFormat.CSVFormat(char, Character, Quote, Character, Character, boolean, boolean, String, String, String[]) There does not seem to

Re: svn commit: r1477592 - in /commons/proper/codec/trunk/src: changes/changes.xml main/java/org/apache/commons/codec/language/Metaphone.java

2013-04-30 Thread Adrian Crum
On 4/30/2013 1:32 PM, ggreg...@apache.org wrote: Author: ggregory Date: Tue Apr 30 12:32:24 2013 New Revision: 1477592 URL: http://svn.apache.org/r1477592 Log: [CODEC-170] Link broken in Metaphone Javadoc. Modified: commons/proper/codec/trunk/src/changes/changes.xml commons/proper/co

Re: svn commit: r1477592 - in /commons/proper/codec/trunk/src: changes/changes.xml main/java/org/apache/commons/codec/language/Metaphone.java

2013-04-30 Thread Adrian Crum
implemenations: -> implementations: -Adrian On 4/30/2013 1:44 PM, Gary Gregory wrote: ah, where? Gary On Tue, Apr 30, 2013 at 8:36 AM, Adrian Crum < adrian.c...@sandglass-software.com> wrote: On 4/30/2013 1:32 PM, ggreg...@apache.org wrote: Author: ggregory Date: Tue Apr 30

Re: [CSV] change line number from 0-based to 1-based

2013-05-07 Thread Adrian Crum
Maybe the method could be named better, something like ExtendedBufferedReader.getCurrentLineNumber() - which would be different than total lines processed. -Adrian On 5/7/2013 11:05 AM, sebb wrote: I've been looking at it further and there is an issue with 1-based counting. The line number c

Re: [CSV] change line number from 0-based to 1-based

2013-05-07 Thread Adrian Crum
processed, reached end of record. Current line number = 3, lines processed = 2, records processed = 1. -Adrian On 5/7/2013 12:08 PM, sebb wrote: On 7 May 2013 11:36, Adrian Crum wrote: Maybe the method could be named better, something like ExtendedBufferedReader.getCurrentLineNumber() - which

Re: [CHAIN] Why does ConextMap extend ConcurrentHashMap instead of delegating to a Map?

2013-06-24 Thread Adrian Crum
I have always preferred the "has-a" approach over the "is-a" approach. It makes things easier to refactor down the road. -Adrian On 6/24/2013 7:30 PM, Benedikt Ritter wrote: Hi, I just wonder why ContextMap inherits from ConcurrentHashMap. This seems like an unnecessary restriction. The cont

Re: [csv] accessing primitives and other record values

2013-08-03 Thread Adrian Crum
Have you considered recommending Commons Convert? I agree that Java data type conversion is outside the scope of CSV. -Adrian On 8/3/2013 8:36 AM, Gary Gregory wrote: Hi All: I recently added these CSVRecord APIs: getBoolean(String), getInt(String), getLong(String), getBigInteger(String). So

Re: [csv] accessing primitives and other record values

2013-08-03 Thread Adrian Crum
Inline... On 8/3/2013 9:05 AM, Gary Gregory wrote: On Sat, Aug 3, 2013 at 11:50 AM, Adrian Crum < adrian.c...@sandglass-software.com> wrote: Have you considered recommending Commons Convert? No: it is unreleased. Are you willing to help polish it to 1.0? Aside from a pending bug fi

Re: [csv] accessing primitives and other record values

2013-08-03 Thread Adrian Crum
/2013 9:18 AM, Paul Benedict wrote: Adrian, the conversions would be configurable. At least that's how I envisioned it using existing BeanUtils functionality. Gary has a request our to me to demo that. On Aug 3, 2013 11:10 AM, "Adrian Crum" wrote: Inline... On 8/3/2013 9:05 AM, Gar

Re: [csv] accessing primitives and other record values

2013-08-03 Thread Adrian Crum
he same thing? Paul On Sat, Aug 3, 2013 at 11:25 AM, Adrian Crum < adrian.c...@sandglass-software.com> wrote: Actually, I picture it like this: Commons CSV does not contain any conversions, and data type conversions are left to the application developer. We can recommend Commons Convert.

Re: [csv] accessing primitives and other record values

2013-08-03 Thread Adrian Crum
On 8/3/2013 9:49 AM, Gary Gregory wrote: On Sat, Aug 3, 2013 at 12:10 PM, Adrian Crum < adrian.c...@sandglass-software.com> wrote: Inline... On 8/3/2013 9:05 AM, Gary Gregory wrote: On Sat, Aug 3, 2013 at 11:50 AM, Adrian Crum < adrian.crum@sandglass-**software.com > wrote:

Re: [csv] accessing primitives and other record values

2013-08-03 Thread Adrian Crum
I am working on getting the bug fixes committed today. I will also include some more JavaDocs - hopefully that will help. If anyone wants to improve things further, they are welcome to do so. -Adrian On 8/3/2013 9:17 AM, James Carman wrote: On Sat, Aug 3, 2013 at 12:05 PM, Gary Gregory wrote

Re: [csv] accessing primitives and other record values

2013-08-04 Thread Adrian Crum
thing happened for BeanUtils from Lang). If Convert is to be released, I think BeanUtils should get some refactoring for a 2.0 release. They should harmonize but not duplicate functionality. Paul On Sat, Aug 3, 2013 at 11:58 AM, Gary Gregory wrote: On Sat, Aug 3, 2013 at 12:55 PM, Adrian C

Re: [convert] String to Boolean converter

2013-08-05 Thread Adrian Crum
Yes, that would be a good change. The general goal of String conversions was to mimic the type's toString() and valueOf() methods, but there are some exceptions that are left over from OFBiz. I tried to remove the OFBiz-specific code when I ported the code to Commons, but I can see I missed a

Re: [CSV] Creating CSVParser instances

2013-08-08 Thread Adrian Crum
+1 for createParser(...) -Adrian On 8/8/2013 6:14 AM, Gary Gregory wrote: On Thu, Aug 8, 2013 at 5:30 AM, Emmanuel Bourg wrote: Thank you for pointing this, I didn't notice this recent addition. I'm not fond of the parseType(Type t) methods, I'd prefer parse(Type t). I'm OK with 'parse' o

[CONVERT] Toward Release 1.0

2013-08-12 Thread Adrian Crum
In revision 1513175 I updated the code with the latest bug fixes. I can't deploy the site changes because the maven site:deploy target is broken - most likely due to recent changes to the deployment scripts. It worked fine the last time I used it. So, I need help from a maven guru to get it fix

  1   2   >