Re: Apache Commons RNG v1.0 is released

2016-12-13 Thread sebb
On 14 December 2016 at 01:05, Gilles Sadowski wrote: > Hello. > > > The Apache Commons Team is pleased to announce the availability of > the first official release of "Apache Commons RNG". > > Apache Commons RNG provides Java implementations of pseudo-random > numbers generators. > > The release n

Apache Commons RNG v1.0 is released

2016-12-13 Thread Gilles Sadowski
Hello. The Apache Commons Team is pleased to announce the availability of the first official release of "Apache Commons RNG". Apache Commons RNG provides Java implementations of pseudo-random numbers generators. The release notes can be reviewed at http://www.apache.org/dist/commons/rng/RELEA

Re: [complex][math-util] dependencies

2016-12-13 Thread Gary Gregory
On Tue, Dec 13, 2016 at 9:59 AM, Gilles wrote: > On Tue, 13 Dec 2016 08:01:35 -0800, Gary Gregory wrote: > >> Two bad code smells: >> >> Do not use RuntimeException. Is IllegalArgumentException a possibility? >> > > Sure, the standard exception closest to the situation should be used. > > >> Don'

Re: [complex][math-util] dependencies

2016-12-13 Thread Gary Gregory
On Tue, Dec 13, 2016 at 9:59 AM, Gilles wrote: > On Tue, 13 Dec 2016 08:01:35 -0800, Gary Gregory wrote: > >> Two bad code smells: >> >> Do not use RuntimeException. Is IllegalArgumentException a possibility? >> > > Sure, the standard exception closest to the situation should be used. > > >> Don'

Re: [complex][math-util] dependencies

2016-12-13 Thread Gilles
On Tue, 13 Dec 2016 08:01:35 -0800, Gary Gregory wrote: Two bad code smells: Do not use RuntimeException. Is IllegalArgumentException a possibility? Sure, the standard exception closest to the situation should be used. Don't throw the exception in the new method, you will loose the compli

Re: [complex][math-util] dependencies

2016-12-13 Thread Gary Gregory
Two bad code smells: Do not use RuntimeException. Is IllegalArgumentException a possibility? Don't throw the exception in the new method, you will loose the complier's ability to warn you about certain code paths. You can create the exception in a new method though. Gary On Dec 13, 2016 5:57 AM

Re: [complex][math-util] dependencies

2016-12-13 Thread Eric Barnhill
On Tue, Nov 29, 2016 at 8:48 PM, Gilles wrote: > In "Commons RNG", I completely dropped all custom-made exceptions. > I suggest you do the same here. > IMO, "simple", low-level, components can do with just throwing > runtime exceptions from the standard library (with a hard-coded > _English_ mes

Re: [RDF] Graduating Commons RDF to Commons PMC

2016-12-13 Thread Sergio Fernández
Source code repository moved to https://git-wip-us.apache.org/repos/asf/commons-rdf.git Also the github mirror: https://github.com/apache/commons-rdf Please, change to the new remote. On Thu, Dec 1, 2016 at 1:23 AM, Stian Soiland-Reyes wrote: > On 30 November 2016 at 03:58, Matt Sicker wrote: