Re: svn commit: r1479574 - /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java

2013-05-06 Thread Benedikt Ritter
2013/5/7 sebb > On 6 May 2013 15:19, Benedikt Ritter wrote: > > 2013/5/6 > > > >> Author: sebb > >> Date: Mon May 6 14:09:05 2013 > >> New Revision: 1479574 > >> > >> URL: http://svn.apache.org/r1479574 > >> Log: > >> Fix up internal raw types > >> > > > > Keep in mind, that this will make app

Re: svn commit: r1479663 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java

2013-05-06 Thread Benedikt Ritter
I have reverted the commit and commented why we use an anonymous subclass of DefaultExpectionContext. But to be honest I don't really see the point. Since the signature of the constructor is public ContextedRuntimeException(final String message, final Throwable cause, ExceptionContext context) ev

Re: [CSV] change line number from 0-based to 1-based

2013-05-06 Thread Gary Gregory
I think there is also a record count that should be consistent with 1-based indexing if it is not already. Gary On May 6, 2013, at 18:19, sebb wrote: > I've just noticed that its Javadoc is inconsistent/ambiguous: > >/** > * Returns the number of lines read > * > * @return the c

Re: [compress] Ok to commit 7zip support patch?

2013-05-06 Thread Stefan Bodewig
On 2013-05-06, Damjan Jovanovic wrote: > I've been hacking on a patch that adds support for reading 7zip archives. COMPRESS-54 is the most popular issue so you'd make quite a few people happy. You are talking about read-only suppport, right? AFAIR there've been either legal/license or technical

Re: svn commit: r1479574 - /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java

2013-05-06 Thread sebb
On 6 May 2013 15:19, Benedikt Ritter wrote: > 2013/5/6 > >> Author: sebb >> Date: Mon May 6 14:09:05 2013 >> New Revision: 1479574 >> >> URL: http://svn.apache.org/r1479574 >> Log: >> Fix up internal raw types >> > > Keep in mind, that this will make applying patches created before > generificat

Re: svn commit: r1479663 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java

2013-05-06 Thread sebb
On 6 May 2013 23:32, Jörg Schaible wrote: > > -1 > > The test for this constructor showed, that you could use an own implementation > for the last parameter. Providing a DefaultExceptionContext makes no > difference to providing null (as it is done implicitly by the other > constructors). > When

Fwd: svn commit: r1479663 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java

2013-05-06 Thread Jörg Schaible
-1 The test for this constructor showed, that you could use an own implementation for the last parameter. Providing a DefaultExceptionContext makes no difference to providing null (as it is done implicitly by the other constructors). --- Weitergeleitete Nachricht (Anfang) Betreff

Re: [CSV] change line number from 0-based to 1-based

2013-05-06 Thread sebb
I've just noticed that its Javadoc is inconsistent/ambiguous: /** * Returns the number of lines read * * @return the current-line-number (or -1) */ "Number of lines read" - I assume that is zero until the first complete line has been read, i.e. 0-based. "Current-line-numbe

Re: svn commit: r1479682 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/IteratorUtils.java

2013-05-06 Thread sebb
On 6 May 2013 20:12, wrote: > Author: tn > Date: Mon May 6 19:12:25 2013 > New Revision: 1479682 > > URL: http://svn.apache.org/r1479682 > Log: > Add again chainedIterator method with 2 iterators to avoid generics warning > in client code. Please document this in the code, not just SVN log. >

Re: [CSV] change line number from 0-based to 1-based

2013-05-06 Thread Gary Gregory
On Mon, May 6, 2013 at 5:49 PM, sebb wrote: > The line number returned by > > ExtendedBufferedReader.getLineNumber() > > currently starts at zero, so an error in the first line in the file is > reported as being in line 0. > > There does not seem to be any good reason for using a zero-based line

[CSV] change line number from 0-based to 1-based

2013-05-06 Thread sebb
The line number returned by ExtendedBufferedReader.getLineNumber() currently starts at zero, so an error in the first line in the file is reported as being in line 0. There does not seem to be any good reason for using a zero-based line number, so I would like to change it to 1-based. Some tests

Re: [CSV] Move isXXX(int) Methods from Lexer to CSVFormat? (was: Re: svn commit: r1478655 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java)

2013-05-06 Thread sebb
On 6 May 2013 18:53, Benedikt Ritter wrote: > 2013/5/5 sebb > > > On 3 May 2013 14:37, Benedikt Ritter wrote: > > > > > (moving this to a new thread) > > > > > > Hi, > > > > > > I did a very small refactoring in Lexer just to realize that the > > isXXX(int) > > > methods (like boolean isDelimit

Re: [VOTE] Log4j2 2.0-beta6 rc1

2013-05-06 Thread Gary Gregory
Sorry about any double posting, it seems I did not "Reply All" on my 1st try... arg. Gary On Mon, May 6, 2013 at 2:09 PM, Benedikt Ritter wrote: > Again, Gary? ;-) > > > 2013/5/6 Gary Gregory > > > Hi All: > > > > -1, see below WRT missing license headers. > > > > - I just fixed the FindBugs

Re: [VOTE] Log4j2 2.0-beta6 rc1

2013-05-06 Thread Benedikt Ritter
Again, Gary? ;-) 2013/5/6 Gary Gregory > Hi All: > > -1, see below WRT missing license headers. > > - I just fixed the FindBugs issue from > https://people.apache.org/~rgoers/log4j2/log4j-api/findbugs.html > BugCategoryDetailsLinePriority Argument of type String can't be handled by > format spe

RE: [VOTE] Log4j2 2.0-beta6 rc1

2013-05-06 Thread Gary Gregory
Hi All: -1, see below WRT missing license headers. - I just fixed the FindBugs issue from https://people.apache.org/~rgoers/log4j2/log4j-api/findbugs.html BugCategoryDetailsLinePriority Argument of type String can't be handled by format specifier %d in new org.apache.logging.log4j.message.Structu

Re: [CSV] Move isXXX(int) Methods from Lexer to CSVFormat? (was: Re: svn commit: r1478655 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java)

2013-05-06 Thread Benedikt Ritter
2013/5/5 sebb > On 3 May 2013 14:37, Benedikt Ritter wrote: > > > (moving this to a new thread) > > > > Hi, > > > > I did a very small refactoring in Lexer just to realize that the > isXXX(int) > > methods (like boolean isDelimiter(int c)) really belong to CSVFormat > rather > > than to the Lexe

Re: [CSV] CSV-58 is killing me

2013-05-06 Thread sebb
I think I've fixed most of the issues. I'm not entirely sure that FF, TAB and BACKSPACE should be handled the same way as CR and LF. The latter are special because they are EOL characters; as far as I can tell the former don't need to be escaped, so they should not be treated specially when unesca

Re: svn commit: r1479574 - /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java

2013-05-06 Thread Benedikt Ritter
2013/5/6 > Author: sebb > Date: Mon May 6 14:09:05 2013 > New Revision: 1479574 > > URL: http://svn.apache.org/r1479574 > Log: > Fix up internal raw types > Keep in mind, that this will make applying patches created before generification harder. > > Modified: > > commons/proper/beanutils/trun

Re: [compress] Ok to commit 7zip support patch?

2013-05-06 Thread Gary Gregory
It's ok by me, but you should create a JIRA for it so the new feature can be tracked. Gary On May 6, 2013, at 8:00, Damjan Jovanovic wrote: > Hi > > I've been hacking on a patch that adds support for reading 7zip archives. > Can I go ahead and commit it, or would you like to review it first? >

[compress] Ok to commit 7zip support patch?

2013-05-06 Thread Damjan Jovanovic
Hi I've been hacking on a patch that adds support for reading 7zip archives. Can I go ahead and commit it, or would you like to review it first? Regards Damjan

commons-lang pull request: Fix a Octal bug.

2013-05-06 Thread fanxu123
GitHub user fanxu123 opened a pull request: https://github.com/apache/commons-lang/pull/5 Fix a Octal bug. For escaped strings like "x\0365x", only "\036" is the octal number, but in the original codes, it consides "\0365" (5 added) as the octal number, and invoke a NumberFormatExc