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
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
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
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
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
/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
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
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
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
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
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
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
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:
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
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,
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
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
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
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
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
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:
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
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
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
+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
+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
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.
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
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
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,
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
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
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.
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
34 matches
Mail list logo