Re: Attaching Apache repository pushes to GitHub page

2017-08-04 Thread Jörg Schaible
IIRC this will also add you automatically to the Apache Organization at GitHub ... Matt Sicker wrote: > Add your GitHub username to your LDAP profile by visiting > https://id.apache.org/ > > On 3 August 2017 at 06:55, Jörg Schaible > wrote: > >> Hi Eric, >> >>

[RNG] Generating for nums

2017-08-04 Thread Gary Gregory
Hi All, Any thoughts on generation when you want to the domain to be an enum? SomeEnum e = UniformRandomProvider.next(SomeEnum); ? Is that too weird for this component? Gary

Re: [RNG] Generating for nums

2017-08-04 Thread Amey Jadiye
That convinced me +1. rng or lang both feels good to me. Regards, Amey On Fri, Aug 4, 2017 at 11:40 PM, Gary Gregory wrote: > For example, I have a enum like: > > public enum CardinalDirection (NORTH,SOUTH,EAST,WEST) > > and I want to say > >

Re: [OT] Job offer

2017-08-04 Thread Oliver Heger
Hi, there is now an English translation available for the job offer: Senior Java Developer Open Source (f/m) Bosch IoT Hub The Bosch IoT Suite is the platform for IoT use cases both for Bosch business units as well as external customers. Being a cloud service for device connectivity the Bosch

Re: [RNG] Generating for [e]nums

2017-08-04 Thread Gilles
Hi. On Fri, 4 Aug 2017 15:29:42 -0400, Simon Spero wrote: On Aug 4, 2017 2:11 PM, "Gary Gregory" wrote: For example, I have a enum like: public enum CardinalDirection (NORTH,SOUTH,EAST,WEST) public CardinalDirection nextRandomDirection() { return

Re: [all/travis-ci] Regarding potential Travis-CI solutions

2017-08-04 Thread Benedikt Ritter
I agree with Pascal. It's better to use Travis build in stuff. When IBM Jdk really become available, that would be quite nice, because that tends to cause failures. Regarding EA builds, I think it's good enough to test releases against them. Since EA builds may have regressions, this could lead to

Re: [RNG] Generating for enums

2017-08-04 Thread Gilles
Hi Gary. On Fri, 4 Aug 2017 11:10:57 -0700, Gary Gregory wrote: For example, I have a enum like: public enum CardinalDirection (NORTH,SOUTH,EAST,WEST) and I want to say traveler.travel(nextRandomDirection()); where public CardinalDirection nextRandomDirection() { return

Re: [RNG] Generating for nums

2017-08-04 Thread Gary Gregory
For example, I have a enum like: public enum CardinalDirection (NORTH,SOUTH,EAST,WEST) and I want to say traveler.travel(nextRandomDirection()); where public CardinalDirection nextRandomDirection() { return rng.next(CardinalDirection.class); } Gary On Fri, Aug 4, 2017 at 11:02 AM, Amey

Re: [all/travis-ci] Regarding potential Travis-CI solutions

2017-08-04 Thread Amey Jadiye
Hi, Yes we are giving up the simplicity of travis but I see some advantages over it, all of them are listed in my previous mail, let me try to put them again. 1. Travis provides very limited JDK at this point [1] and travis builds can become more flexible and we will have more control over the

Re: [RNG] Generating for [e]nums

2017-08-04 Thread Simon Spero
On Aug 4, 2017 2:11 PM, "Gary Gregory" wrote: For example, I have a enum like: public enum CardinalDirection (NORTH,SOUTH,EAST,WEST) public CardinalDirection nextRandomDirection() { return rng.next(CardinalDirection.class); } This approach may be a bit slow if the

Re: [RNG] Generating for nums

2017-08-04 Thread Amey Jadiye
Hi, What's usecase for this BTW ? Might be unaware about requirement but this forced me to think why would someone need random enum ? Enums are generally "limited" immutable constants and people choose enum over the array of constants for good reason, however random provider seems best suited

Re: [MATH] Enforce run of checkstyle-maven-plugin in validate instead of site phase

2017-08-04 Thread Allon Mureinik
We had a similar discussion about Configuration. Personally, I'm all for enforcing checkstyle during the validate phase, but we couldn't reach a consensus about it there: http://www.mail-archive.com/dev@commons.apache.org/msg58573.html On Fri, Aug 4, 2017 at 7:16 PM, Karl-Philipp Richter

[GitHub] commons-fileupload pull request #:

2017-08-04 Thread kinow
Github user kinow commented on the pull request: https://github.com/apache/commons-fileupload/commit/86a79bceac4a267819de986ca814f11b48d81da3#commitcomment-23490295 In src/test/java/org/apache/commons/fileupload/ProgressListenerTest.java: In

[GitHub] commons-exec pull request #1: making CommandLine.addArgument and CommandLine...

2017-08-04 Thread krichter722
GitHub user krichter722 opened a pull request: https://github.com/apache/commons-exec/pull/1 making CommandLine.addArgument and CommandLine.addArguments fail on null and empty arguments Making CommandLine.addArgument and CommandLine.addArguments fail on null and empty (for

[GitHub] commons-fileupload pull request #:

2017-08-04 Thread PascalSchumacher
Github user PascalSchumacher commented on the pull request: https://github.com/apache/commons-fileupload/commit/86a79bceac4a267819de986ca814f11b48d81da3#commitcomment-23482473 In src/test/java/org/apache/commons/fileupload/ProgressListenerTest.java: In

Re: [all/travis-ci] Regarding potential Travis-CI solutions

2017-08-04 Thread Pascal Schumacher
Hello everybody, let me add some detail to what I mean by hard to maintain. The scripts contains links to specific jdk versions: http://download.java.net/java/jdk9/archive/178/binaries/jdk-9+178_linux-x64_bin.tar.gz

[MATH] Enforce run of checkstyle-maven-plugin in validate instead of site phase

2017-08-04 Thread Karl-Philipp Richter
Hi, While working on a [small contribution](https://issues.apache.org/jira/browse/MATH-1426) I noticed that there's a checkstyle setup which is run in a reporting phase of Maven which might be skipped by most developers and isn't used on Travis CI. I suggest to move this phase to the validate

Re: [VOTE] Release Apache Commons JCS 2.2 based on RC1

2017-08-04 Thread Gary Gregory
Hi All: Can these failures be explained: Failed tests: RemoteCacheNoWaitUnitTest.testRemove:136 Wrong number updated. expected:<1> but was:<0> RemoteCacheNoWaitUnitTest.testUpdate:62 Wrong number updated. expected:<1> but was:<0> Tests run: 402, Failures: 2, Errors: 0, Skipped: 0 [INFO]