Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Allon Mureinik
darn, missed one :-) Thanks Giles! On Sat, Feb 17, 2018 at 5:12 AM, Gilles wrote: > On Fri, 16 Feb 2018 21:12:39 +0200, Allon Mureinik wrote: > >> The migration from FindBugs to SpotBugs seems to be trivial once we decide >> to go down that route: >>

Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Gilles
On Fri, 16 Feb 2018 21:12:39 +0200, Allon Mureinik wrote: The migration from FindBugs to SpotBugs seems to be trivial once we decide to go down that route: https://github.com/apache/commons-rng/pull/7 Merged. Thanks for the patch, but it didn't work without an additional change (see log). :-}

[GitHub] commons-rng pull request #7: Replace FindBugs with SpotBugs

2018-02-16 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/commons-rng/pull/7 --- - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

[MATH][MATH-1451] Infinite loop for CycleCrossover with duplicates

2018-02-16 Thread Gabriele Rossi
Hello, I posted following issue and was suggested to mail here by Gilles: https://issues.apache.org/jira/browse/MATH-1451 I've found an infinite loop when recombining two integers Chromosomes admitting duplicates with CycleCrossover class. For example, recombining example Chromosomes it works

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Gilles
On Fri, 16 Feb 2018 14:33:19 -0500, Rob Tompkins wrote: On Feb 16, 2018, at 2:23 PM, Gilles wrote: On Fri, 16 Feb 2018 12:17:29 -0500, Rob Tompkins wrote: On Feb 16, 2018, at 11:50 AM, Rob Tompkins wrote: On Feb 16, 2018, at 11:16 AM,

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Rob Tompkins
> On Feb 16, 2018, at 2:23 PM, Gilles wrote: > > On Fri, 16 Feb 2018 12:17:29 -0500, Rob Tompkins wrote: >>> On Feb 16, 2018, at 11:50 AM, Rob Tompkins wrote: >>> >>> >>> On Feb 16, 2018, at 11:16 AM, Gilles

Re: [VFS] trunk build failing in travis

2018-02-16 Thread Otto Fowler
And only fails java8, which is what i’m using local On February 16, 2018 at 14:26:10, Otto Fowler (ottobackwa...@gmail.com) wrote: https://travis-ci.org/ottobackwards/commons-vfs/builds/342485419 So this builds locally with mvn clean package, but fails in travis, anyone familiar? On February

Re: [VFS] trunk build failing in travis

2018-02-16 Thread Otto Fowler
https://travis-ci.org/ottobackwards/commons-vfs/builds/342485419 So this builds locally with mvn clean package, but fails in travis, anyone familiar? On February 16, 2018 at 14:23:31, Bernd Eckenfels (e...@zusammenkunft.net) wrote: There is something fishy going on with the way testdatan and

Re: [VFS] trunk build failing in travis

2018-02-16 Thread Bernd Eckenfels
There is something fishy going on with the way testdatan and Testsuites are generated. It results in a lot of NPEs because the setConfig is not properly called. One of the causes seem to be on the fly compilation by concurrent IDEs, sometimes it is caused by not found test data (which makes the

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Gilles
On Fri, 16 Feb 2018 12:17:29 -0500, Rob Tompkins wrote: On Feb 16, 2018, at 11:50 AM, Rob Tompkins wrote: On Feb 16, 2018, at 11:16 AM, Gilles wrote: On Fri, 16 Feb 2018 10:05:15 -0500, Rob Tompkins wrote: On Feb 16, 2018, at 2:47 AM,

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Rob Tompkins
> On Feb 16, 2018, at 12:17 PM, Rob Tompkins wrote: > > > >> On Feb 16, 2018, at 11:50 AM, Rob Tompkins > > wrote: >> >> >> >>> On Feb 16, 2018, at 11:16 AM, Gilles >>

Re: [VFS] trunk build failing in travis

2018-02-16 Thread Otto Fowler
That did the trick. Thank you. I’m going to submit pr’s for VFS-398 and VFS-614 soon. On February 16, 2018 at 13:54:53, Gary Gregory (garydgreg...@gmail.com) wrote: Note that the Travis build is now green: https://travis-ci.org/apache/commons-vfs/ Gary On Fri, Feb 16, 2018 at 11:34 AM, Gary

Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Allon Mureinik
The migration from FindBugs to SpotBugs seems to be trivial once we decide to go down that route: https://github.com/apache/commons-rng/pull/7 [Note that there are test case failures in the CI for this PR that are unrelated to the findbugs-spotbugs migration - they also seem to reproduce on

Re: commons-csv git commit: CSV-216: Avoid Arrays.copyOf()

2018-02-16 Thread Gilles
On Fri, 16 Feb 2018 08:33:46 -0800, Chas Honton wrote: Read Bloch. Don’t optimize until you have proven that this bit of code is causing a significant performance hit. arrayCopy can and is inlined by jit https://www.artima.com/intv/bloch13.html Bottom-line: Don't use clone except to copy

[GitHub] commons-rng pull request #7: Replace FindBugs with SpotBugs

2018-02-16 Thread mureinik
GitHub user mureinik opened a pull request: https://github.com/apache/commons-rng/pull/7 Replace FindBugs with SpotBugs As per the discussion in [1], FindBugs has been discontinued, and SpotBugs has taken its place. This patch updates the Commons RNG project to use SpotBugs

Re: [VFS] trunk build failing in travis

2018-02-16 Thread Gary Gregory
Note that the Travis build is now green: https://travis-ci.org/apache/commons-vfs/ Gary On Fri, Feb 16, 2018 at 11:34 AM, Gary Gregory wrote: > Make sure you have the latest from trunk. The build works for me locally > using 'mvn clean package' using Oracle Java 7 and

Re: [VFS] trunk build failing in travis

2018-02-16 Thread Gary Gregory
Make sure you have the latest from trunk. The build works for me locally using 'mvn clean package' using Oracle Java 7 and 8: Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T01:58:13-06:00) Maven home: C:\Java\apache-maven-3.5.2\bin\.. Java version: 1.8.0_162, vendor:

Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Jacques Le Roux
OK, so I'll wait an official announce from http://findbugs.sourceforge.net/ Thanks Jacques Le 16/02/2018 à 17:25, Gilles a écrit : On Fri, 16 Feb 2018 15:02:32 +0100, Jacques Le Roux wrote: Hi Jochen, Actually Gilles suggested to use spotbugs Yes. The SpotBugs web site mentions that they

Re: [VFS] trunk build failing in travis

2018-02-16 Thread Otto Fowler
Any ideas on this? Even with the old pom, I’m seeing failures I cannot explain. I have a couple of PR’s I think I’d like to submit, but building seems a bit of mess. On February 15, 2018 at 22:03:06, Bernd Eckenfels (e...@zusammenkunft.net) wrote: Hello, I digged a bit deeper, and on my

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Rob Tompkins
> On Feb 16, 2018, at 11:50 AM, Rob Tompkins wrote: > > > >> On Feb 16, 2018, at 11:16 AM, Gilles wrote: >> >> On Fri, 16 Feb 2018 10:05:15 -0500, Rob Tompkins wrote: On Feb 16, 2018, at 2:47 AM, Gilles

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Rob Tompkins
> On Feb 16, 2018, at 11:16 AM, Gilles wrote: > > On Fri, 16 Feb 2018 10:05:15 -0500, Rob Tompkins wrote: >>> On Feb 16, 2018, at 2:47 AM, Gilles wrote: >>> >>> On Thu, 15 Feb 2018 15:01:23 -0500, Rob Tompkins wrote: > On Feb

Re: commons-csv git commit: CSV-216: Avoid Arrays.copyOf()

2018-02-16 Thread Chas Honton
Read Bloch. Don’t optimize until you have proven that this bit of code is causing a significant performance hit. arrayCopy can and is inlined by jit. Chas > On Feb 16, 2018, at 5:53 AM, Stian Soiland-Reyes wrote: > > String is still a type of Object (requiring GC handling

Re: commons-csv git commit: CSV-216: Avoid Arrays.copyOf()

2018-02-16 Thread Gilles
On Fri, 16 Feb 2018 13:53:28 +, Stian Soiland-Reyes wrote: String is still a type of Object (requiring GC handling of reference counters), as you can do Object[] o = stringArray.clone(); without casting. (other way not so) https://www.javaspecialists.eu/archive/Issue124.html says there is

Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Gilles
On Fri, 16 Feb 2018 15:02:32 +0100, Jacques Le Roux wrote: Hi Jochen, Actually Gilles suggested to use spotbugs Yes. The SpotBugs web site mentions that they are the successor. And the FindBugs web site is offline/disabled. "Commons" projects use the FindBugs maven plugin and, as I've shown,

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Gilles
On Fri, 16 Feb 2018 10:05:15 -0500, Rob Tompkins wrote: On Feb 16, 2018, at 2:47 AM, Gilles wrote: On Thu, 15 Feb 2018 15:01:23 -0500, Rob Tompkins wrote: On Feb 15, 2018, at 2:37 PM, Gilles wrote: On Wed, 07 Feb 2018 15:22:59

Re: [release-plugin] best multi-module project?

2018-02-16 Thread Rob Tompkins
> On Feb 16, 2018, at 2:47 AM, Gilles wrote: > > On Thu, 15 Feb 2018 15:01:23 -0500, Rob Tompkins wrote: >>> On Feb 15, 2018, at 2:37 PM, Gilles wrote: >>> On Wed, 07 Feb 2018 15:22:59 +0100, Gilles wrote: On Wed, 7 Feb

Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Jacques Le Roux
Hi Jochen, Actually Gilles suggested to use spotbugs Jacques Le 16/02/2018 à 10:39, Jochen Wiedmann a écrit : Hi, Gilles, are you aware of https://spotbugs.github.io/ Apart from the name change: A lot of commits in January. Doesn't look dead to me. Jochen On Fri, Feb 16, 2018 at 9:04

Re: commons-csv git commit: CSV-216: Avoid Arrays.copyOf()

2018-02-16 Thread Stian Soiland-Reyes
String is still a type of Object (requiring GC handling of reference counters), as you can do Object[] o = stringArray.clone(); without casting. (other way not so) https://www.javaspecialists.eu/archive/Issue124.html says there is hardly any difference, so I don't think we need to fight this one

[GitHub] commons-validator pull request #9: fix email with dot and whitespace end val...

2018-02-16 Thread unintended
GitHub user unintended opened a pull request: https://github.com/apache/commons-validator/pull/9 fix email with dot and whitespace end validation You can merge this pull request into a Git repository by running: $ git pull https://github.com/unintended/commons-validator

Re: commons-csv git commit: CSV-216: Avoid Arrays.copyOf()

2018-02-16 Thread sebb
On 16 February 2018 at 10:01, Stian Soiland-Reyes wrote: > I agree in general for .clone() on objects - and I'm trying to move > away from using .clone() in that Commons RDF fluent mutable/immutable > builder (See COMMONSRDF-49). > > But this is an Object[] - a native type.

Re: commons-csv git commit: CSV-216: Avoid Arrays.copyOf()

2018-02-16 Thread Stian Soiland-Reyes
I agree in general for .clone() on objects - and I'm trying to move away from using .clone() in that Commons RDF fluent mutable/immutable builder (See COMMONSRDF-49). But this is an Object[] - a native type. I must admit I am not sure what is really the preferred way - I thought .clone() is best

Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Jochen Wiedmann
Hi, Gilles, are you aware of https://spotbugs.github.io/ Apart from the name change: A lot of commits in January. Doesn't look dead to me. Jochen On Fri, Feb 16, 2018 at 9:04 AM, Jacques Le Roux wrote: > Le 14/02/2018 à 19:02, Gilles a écrit : >> >> FindBugs

Re: [All][RNG] FindBugs discontinued

2018-02-16 Thread Jacques Le Roux
Le 14/02/2018 à 19:02, Gilles a écrit : FindBugs chokes on Java 9 "module-info" files[1] and the project has been shut down Hi Gilles, Do you have a reference where it's said that FindBugs has been shut down? Thanks Jacques