[continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-05-13 Thread Apache Continuum
Online report : https://continuum-ci.apache.org/continuum/buildResult.action?buildId=30430&projectId=286 Build statistics: State: Failed Previous State: Failed Started at: Thu 8 May 2014 18:20:39 + Finished at: Thu 8 May 2014 18:24:29 + Total time: 3m 49s Build Trigger: Schedu

Re: [lang]

2014-05-13 Thread Duncan Jones
On 13 May 2014 02:02, Phil Steitz wrote: > > >> On May 6, 2014, at 10:51 PM, Duncan Jones wrote: >> >>> On 7 May 2014 01:52, "Paul Benedict" wrote: >>> >>> When you dereference a null pointer, you get an NPE. We can agree to that. >>> We can also agree it's not inherently wrong to throw IAE on a

[ALL] Missing commit e-mails - INFRA-7716

2014-05-13 Thread sebb
I did a comparison of recent SVN log entries (since just before the mail outage) against the contents of the commits mail archive, and found that several e-mails seem to have got lost, so I raised INFRA -7716. - To unsubscribe, e-

Re: [lang]

2014-05-13 Thread Gary Gregory
+1 Gary Original message From: Oliver Heger Date:05/13/2014 15:33 (GMT-05:00) To: Commons Developers List Subject: Re: [lang] I remembered this discussion just today at work when I was faced with the following situation: a method is passed parameters which must not be nul

RE: [lang] Any objections to LANG-1012?

2014-05-13 Thread Gary Gregory
IMO toes does not belong in lang. It's too much like the bean validation framework. It has potential to leak into a giant pile of methods with support for all doors of objects and data types.  Providing what java 7 has in Objects should be the limit, more or less.  Gary Original messa

[continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-05-13 Thread Apache Continuum
Online report : https://continuum-ci.apache.org/continuum/buildResult.action?buildId=30723&projectId=286 Build statistics: State: Failed Previous State: Failed Started at: Tue 13 May 2014 18:39:24 + Finished at: Tue 13 May 2014 18:43:09 + Total time: 3m 45s Build Trigger: Sche

[continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons ()

2014-05-13 Thread Apache Continuum
Online report : https://continuum-ci.apache.org/continuum/buildResult.action?buildId=30726&projectId=286 Build statistics: State: Failed Previous State: Failed Started at: Tue 13 May 2014 19:00:06 + Finished at: Tue 13 May 2014 19:04:15 + Total time: 4m 8s Build Trigger: Sched

RE: [lang]

2014-05-13 Thread Kish, Robert
What I haven't seen anyone mention yet is my point of view as a user. I don't mind getting back NPE - I just want an error message in the exception when that happens. If I get back null as the text, then that usually tells me the error is a JVM one or an unexpected one in the library I'm using. Whe

Re: [lang]

2014-05-13 Thread Oliver Heger
I remembered this discussion just today at work when I was faced with the following situation: a method is passed parameters which must not be null and must otherwise be compliant to some validity rules. So what would authorities recommend: Throw NPE in case of a null argument and IAE in case of o

[GitHub] commons-lang pull request: Adding to StringUtils truncate method a...

2014-05-13 Thread thiagoh
GitHub user thiagoh opened a pull request: https://github.com/apache/commons-lang/pull/24 Adding to StringUtils truncate method and test cases Adding the following methods from `StringUtils`: * `public static String truncate(final String str, final int maxWidth)` * `public st

[continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons ()

2014-05-13 Thread Apache Continuum
Online report : https://continuum-ci.apache.org/continuum/buildResult.action?buildId=30719&projectId=286 Build statistics: State: Failed Previous State: Failed Started at: Tue 13 May 2014 18:00:03 + Finished at: Tue 13 May 2014 18:04:35 + Total time: 4m 31s Build Trigger: Sche

Re: svn commit: r1594073 - in /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs: auxiliary/remote/server/ engine/memory/ engine/memory/util/

2014-05-13 Thread Phil Steitz
On 5/12/14, 12:46 PM, rmannibu...@apache.org wrote: > Author: rmannibucau > Date: Mon May 12 19:46:08 2014 > New Revision: 1594073 > > URL: http://svn.apache.org/r1594073 > Log: > removing a bunch of synchronized thanks to ConcurrentHashMap - still > removeAll to review since it can be not that go

RE: [lang]

2014-05-13 Thread Roger Whitcomb
Just wanted to mention that the Apache Pivot project (Java GUI framework) uses IAE for most/all cases of null or invalid input arguments (that is, cases where we check the input arguments), reserving NPE for basically the JVM to throw. ~Roger Whitcomb -Original Message- From: Ralph Goer

Re: [VOTE] Release Math 3.3 based on RC3 (second run after mail outage)

2014-05-13 Thread Gilles
Hi. I would like to call a vote to release Commons Math 3.3 based on RC3. [...] [X] +1 Release these artifacts [ ] +0 OK, but... [ ] -0 OK, but really should fix... [ ] -1 I oppose this release because... Gilles

[continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-05-13 Thread Apache Continuum
Online report : https://continuum-ci.apache.org/continuum/buildResult.action?buildId=30718&projectId=286 Build statistics: State: Failed Previous State: Failed Started at: Tue 13 May 2014 17:20:44 + Finished at: Tue 13 May 2014 17:24:27 + Total time: 3m 42s Build Trigger: Sche

[continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons ()

2014-05-13 Thread Apache Continuum
Online report : https://continuum-ci.apache.org/continuum/buildResult.action?buildId=30433&projectId=286 Build statistics: State: Failed Previous State: Failed Started at: Thu 8 May 2014 20:00:03 + Finished at: Thu 8 May 2014 20:04:04 + Total time: 4m 0s Build Trigger: Schedul

Re: [lang]

2014-05-13 Thread Gary Gregory
On Thu, May 8, 2014 at 12:24 AM, Ralph Goers wrote: > I have to say that if you look at the JDK for examples of how to code Java > correctly you will be disappointed. There are lots and lots of classes > that are really bad. > Sadly, you need experience to pick and choose what guidelines to foll

RE: [CSV] CSVFormat validation - do this earlier?

2014-05-13 Thread Gary Gregory
I'm for whatever will be more helpful to the user. You can pick :) Gary Original message From: sebb Date:05/13/2014 06:06 (GMT-05:00) To: dev@commons.apache.org Subject: [CSV] CSVFormat validation - do this earlier? At present, validate() is not invoked until the format is

[continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons ()

2014-05-13 Thread Apache Continuum
Online report : https://continuum-ci.apache.org/continuum/buildResult.action?buildId=30674&projectId=286 Build statistics: State: Failed Previous State: Failed Started at: Mon 12 May 2014 21:00:05 + Finished at: Mon 12 May 2014 21:04:17 + Total time: 4m 12s Build Trigger: Sche

[CSV] CSVFormat validation - do this earlier?

2014-05-13 Thread sebb
At present, validate() is not invoked until the format is used. This means that invalid arguments are not detected at the point they are provided. It would be possible to run validate as part of the withArgument() methods. This would allow earlier detection, and avoid the issue that currently some

test msg

2014-05-13 Thread Gary Gregory
this is a test msg, I've received a report that the list might be down... -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition Spring Batch in Acti