Re: [rng] New repository for "Commons Rng"

2016-08-08 Thread Julien Aymé
Hi, IMHO, it would be simpler to add JDKSecureRandom and JDKThreadLocalRandom classes, so that you know what you have in a single glance. WDYT? Regards, Julien Aymé 2016-08-08 13:47 GMT+04:00 Artem Barger <ar...@bargr.net>: > Hi, > > On Mon, Aug 8, 2016 at 4:10

Re: Bugs in Apache commons collections, version 4.0

2014-04-10 Thread Julien Aymé
Hi, As specified by Collection#equals(Object) javadoc ( http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html#equals(java.lang.Object) ), equals must be symmetric. That's why Collection.equals(List) must return false, as well as Collection.equals(Set), while

Re: [csv] CSVRecord and MapString, String

2014-01-21 Thread Julien Aymé
2014/1/21 Emmanuel Bourg ebo...@apache.org: Le 21/01/2014 14:04, Gary Gregory a écrit : - CSVRecord implements MapString, String - CSVRecord implements MapString, String but read-only -1 - CSVRecord implements toMap() - MapString, String (a plain HashMap) +0 (that's fine if the map is a

Re: [LANG] New class called StringAlgorithms?

2014-01-17 Thread Julien Aymé
More on Benedikt's idea: quote What I want to avoid is something like: LevenshteinDistance algo = new LevenshteinDistance() double dist = algo.getDistance(str1, str2); quote If the algorithm is stateless, we can provide a public static final LevenshteinDistance INSTANCE. In that case, the code

Re: [imaging] Closing stream

2013-10-25 Thread Julien Aymé
Hi, Concerning Java 7, I think that the try-with-ressources throws the first exception encountered, and add other exceptions in the suppressed exceptions. See http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#addSuppressed(java.lang.Throwable) My 2 cents, Regards, Julien

Re: [ALL] Improving Commons public relations

2013-07-15 Thread Julien Aymé
/snip FYI: INFRA has resolved INFRA-6500 [1]. All proper components are new mirrored to git.apache.org and github :) Benedikt [1] https://issues.apache.org/jira/browse/INFRA-6500 Nice !! Thanks a lot Benedikt ! Julien

Re: [ALL] Improving Commons public relations

2013-07-12 Thread Julien Aymé
Hello, it would also be nice to see in once glance what is the current latest version of each component. For example, in the current listing of proper components, a column 'Latest version' would be very nice, as well as a short summary of latest released components in the commons home page. My 2

Re: ObjectUtils

2013-07-04 Thread Julien Aymé
Hi, Instead of using a predicate, wouldn't it be simpler to just use if (false == Arrays.asList(obj1, obj2, ...).contains(null)) ? Just my 2 cents, Julien 2013/7/5 Romain Manni-Bucau rmannibu...@gmail.com: Hi I'd just provide a IsNullPredicate class (a singleton) and then use

[VFS] Itch to implement a SFTP filesystem client using sshd

2013-06-19 Thread Julien Aymé
Hi everyone, I've used sshd from mina at work (http://mina.apache.org/sshd-project/index.html), and I found the api really attractive. In sshd there is already a SFTP server implemented, but there is no SFTP filesystem client support. So I am willing to take up the task of (re)implementing a

Re: [VFS] Itch to implement a SFTP filesystem client using sshd

2013-06-19 Thread Julien Aymé
Hi, I forgot to mention one argument for using sshd: it behaves really nicely in multi-threaded environments. Regards, Julien 2013/6/19 Julien Aymé julien.a...@gmail.com: Hi everyone, I've used sshd from mina at work (http://mina.apache.org/sshd-project/index.html), and I found the api

Re: [all] Does this break binary compatibility?

2012-07-09 Thread Julien Aymé
In fact, changing the return type does break binary compatibility (binary compatibility is different from source compatibility), since the return type of a method is part of is java signature. This means that if someone would want to use the new jar (with changed return type) as a drop-in

Re: [pool] equal instances

2011-06-09 Thread Julien Aymé
2011/6/9 Mark Thomas ma...@apache.org: On 09/06/2011 04:39, Phil Steitz wrote: Code in trunk now does not work when distinct pooled instances are equal - i.e., if a factory produces instances A and B and A.equals(B), this causes problems.   I think this situation should be allowed - i.e. it

Re: [ALL] who saw the e-mail [VOTE][RESULT] Release Apache Commons Codec 1.5-RC1 ?

2011-03-29 Thread Julien Aymé
I did, but it was on the same thread as [VOTE] Release Apache Commons Codec 1.5-RC1 (I don't know why my GMail client merged the two thread into one). HTH, Regards, Julien 2011/3/29 sebb seb...@gmail.com: I never saw the [VOTE][RESULT] e-mail sent by Garry [1] with the subject line:

Re: LANG - useful to have float/double equals method?

2011-01-12 Thread Julien Aymé
Hi, I think that some part of this already has been discussed on this list (maybe not for equals but for some other code duplication between Commons Lang and Commons Math): the aim of the libraries is not the same, and someone may not want to add a dependency on Commons Math (very specific

Re: Pointers

2011-01-04 Thread Julien Aymé
If you only use boolean, integer and long, you can also use AtomicXXX from java.util.concurrent.atomic (if you have to use them in a multi-threaded environment). Otherwise, the MutableXXX wrappers in Commons Lang are good. Julien 2011/1/3 Paul Benedict pbened...@apache.org: Michael,

Re: Bean merge

2010-12-15 Thread Julien Aymé
Hi, you could see the issue BEANUTILS-304 : https://issues.apache.org/jira/browse/BEANUTILS-304 Or you could enhance BeanUtils class by duplicating copyProperties method into a new copyNonNullProperties method (which would copy all non-null properties from src into dest). Then the merge

Re: [io] missing java.io.PrintWriter.close() in org.apache.commons.io.testtools.FileBasedTestCase.checkWrite()

2010-10-25 Thread Julien Aymé
Hi Huxing, since the PrintStream/PrintWriter are built around an existing (open) OutputStream/Writer: the parameter passed to the method, it is the responsibility of the caller to close the OutputStream/Writer. Thus, there is no need to close the PrintStream/PrintWriter (they would close the

Re: [IO] Tailer API

2010-09-29 Thread Julien Aymé
2010/9/30 sebb seb...@gmail.com: On 30 September 2010 02:58, Niall Pemberton niall.pember...@gmail.com wrote: On Thu, Sep 30, 2010 at 2:46 AM, sebb seb...@gmail.com wrote: Just wondering if the Tailer API could be simplified by performing the thread start within the class? Is it ever going to

Re: svn commit: r983137 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java

2010-08-10 Thread Julien Aymé
2010/8/10 sebb seb...@gmail.com: On 9 August 2010 23:44, James Carman ja...@carmanconsulting.com wrote: On Mon, Aug 9, 2010 at 7:32 AM, sebb seb...@gmail.com wrote: Why not split the code into two methods: public static K,V MapK, V toMap(Map.EntryK,V[] array) and public static K,V MapK, V

Re: [math] incompatible change in r936295

2010-06-01 Thread Julien Aymé
Hi, Some compiled client code can break if it extends the method, and returns something which is a BivariateRealFunction, but not a BicubicSplineInterpolatingFunction. Since the super class method contract has changed, the client code does not respect the contract (return

Re: svn commit: r934041 - in /commons/proper/io/trunk/src/java/org/apache/commons/io: input/ProxyInputStream.java output/ProxyOutputStream.java

2010-04-15 Thread Julien Aymé
Hi, I think that the ProxyOutputStream can still throw a NPE: - afterWrite(bts.length); will throw a NPE whenever bts is null. Regards, Julien 2010/4/14 ju...@apache.org: Author: jukka Date: Wed Apr 14 17:37:24 2010 New Revision: 934041 URL:

Re: [lang] Working on issue LANG - 583 Was: Need to start the work

2010-02-01 Thread Julien Aymé
Hello Chandra, you should prefix your mail object with [lang] to have a faster feedback, since most of the commons developers have rules that match the component name. In order to work on this issue you should check out the trunk version of lang (see

Re: [MATH] Proposal to add semivariance to StatUtils.java

2009-12-11 Thread Julien Aymé
Hello Larry, The best way to contribute would be to create a JIRA issue describing the enhancement, with your code attached as a patch. (URL for Commons-Math JIRA: http://issues.apache.org/jira/browse/MATH) Regards, Julien 2009/12/11 Larry Diamond larry_diam...@hotmail.com: Hi - this is my

Re: [ANNOUNCEMENT] Apache Commons DbUtils 1.3 Released

2009-11-12 Thread Julien Aymé
Thanks a lot Dan :-) Julien 2009/11/13 Dan Fabulich d...@fabulich.com: The Commons DbUtils team is pleased to announce the commons-dbutils-1.3 release! DbUtils is a package of Java utility classes for easing JDBC development. Changes in this version include: New features: o Java 1.5

Re: [VOTE] Release of DbUtils 1.3 RC3

2009-11-08 Thread Julien Aymé
+1 as before. Thanks a lot for doing all this. Julien 2009/11/8 Dan Fabulich d...@fabulich.com: This release includes support for Java5 generics and varargs. For RC3 I fixed the CheckStyle and FindBugs errors, except for the bad practice bug of using getClass().getResourceAsStream(), which

Re: [VOTE] Release of DbUtils 1.3 RC4

2009-11-08 Thread Julien Aymé
+1 Julien 2009/11/8 Dan Fabulich d...@fabulich.com: This release includes support for Java5 generics and varargs. In RC3 I accidentally added a dependency on Java 1.6 while fixing FindBugs errors; in RC4 I fixed that bug. As noted in earlier RCs, I believe 1.3 to be a backwards compatible

Re: [dbutils] Java5 branch landed to trunk; release tomorrow?

2009-11-03 Thread Julien Aymé
I've submitted a patch for DBUTILS-54 and DBUTILS-57, which can be added to the release if someone (Dan? ;-) ) has the time to review them. I'll try to submit a patch for DBUTILS-50 later this evening, but I think this will require a little more time and thoughts.

Re: [dbutils] Java5 branch landed to trunk; release tomorrow?

2009-11-03 Thread Julien Aymé
Thanks for the review! 2009/11/4 Dan Fabulich d...@fabulich.com: Julien Aymé wrote: I've submitted a patch for DBUTILS-54 and DBUTILS-57, which can be added to the release if someone (Dan? ;-) ) has the time to review them. I'll try to submit a patch for DBUTILS-50 later this evening

Re: [continuum] BUILD FAILURE: Commons - Commons DbUtils -

2009-11-02 Thread Julien Aymé
Hi, I think that the maven compiler plugin should be changed to use 1.5 source/target in the pom.xml: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.4/source target1.4/target /configuration /plugin This is what makes the

Re: [dbutils] Ping for next release ?

2009-10-23 Thread Julien Aymé
This is some great news! Thanks! I'm currently working on some patch for UNRESOLVED issues with no patch attached, so that the workload is not too heavy for you commiters :-) I will submit them this week end. Also, if you need the patch to be created against the trunk + generics-patch version,

[dbutils] Ping for next release ?

2009-10-22 Thread Julien Aymé
Hi all, There was a lot of work done for last 1.2 release, thanks to Dan, Henri, Liam and others :-) , which is great. Yet, the feature I was expecting the most (use of generics, as described in the DBUTILS-48 issue : http://issues.apache.org/jira/browse/DBUTILS-48), was not part of it. I'd like

Re: [dbutils] Consider moving Mock classes from src/test to src/java

2009-09-02 Thread Julien Aymé
2009/9/2 Jochen Wiedmann jochen.wiedm...@gmail.com: On Tue, Sep 1, 2009 at 10:29 PM, Dan Fabulichd...@fabulich.com wrote: Filing a JIRA issue wouldn't hurt, but I'm not sure we'd want to ship our mocks as part of the product.  I think there are better implementations of MockResultSet out

Re: [dbutils] Consider moving Mock classes from src/test to src/java

2009-09-02 Thread Julien Aymé
2009/9/2 Jochen Wiedmann jochen.wiedm...@gmail.com: On Wed, Sep 2, 2009 at 8:44 AM, Julien Ayméjulien.a...@gmail.com wrote: Does this change the way the distrib is build, and/or alter the maven scripts? You need to add the jar:test-jar goal, as outlined on the link I posted previously.

[dbutils] Consider moving Mock classes from src/test to src/java

2009-08-31 Thread Julien Aymé
Hi, When using dbutils, I use MockResultSet class and MockResultSetMetaData class in order to write simple unit tests. That's why I would like to move MockResultSet class and MockResultSetMetaData class from the test package to the main package, so that it would be included in the dbutils jar