Re: svn commit: r1487173 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java

2013-05-28 Thread Stefan Bodewig
On 2013-05-29, wrote: > Unnecessary @SuppressWarnings("unchecked") - these are not used for casts javac was whining until I added them, strange. Stefan - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additiona

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread Stefan Bodewig
On 2013-05-28, Gary Gregory wrote: > On Tue, May 28, 2013 at 2:08 PM, sebb wrote: >> On 25 May 2013 18:47, wrote: >>>+ import java.util.Deque; >> That requires Java 1.6; Compress currently targets 1.5 > Well, let's change the requirement to Java 6 for Compress 1.6. Not necessary in this ca

[SCXML]How to get event payload in Listener.onTransition

2013-05-28 Thread zn
I have a derivate class for SCXMLListener. How to get event payload in onTransition method? I can get it from rootContext.get("_eventdata"). I don't want to hardcode it, is there any other method?

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread sebb
Turns out that a List is sufficient; no need for a Deque. Fixed in http://svn.apache.org/r1487167 On 28 May 2013 19:08, sebb wrote: > On 25 May 2013 18:47, wrote: >> Author: bodewig >> Date: Sat May 25 17:47:00 2013 >> New Revision: 1486348 >> >> URL: http://svn.apache.org/r1486348 >> Log: >>

Re: [Math] Accepting contributions (Was: svn commit: r1486982 - ...)

2013-05-28 Thread Gilles
On Tue, 28 May 2013 20:47:30 +0200, Thomas Neidhart wrote: On 05/28/2013 08:20 PM, Gilles wrote: On Tue, 28 May 2013 16:04:32 -, t...@apache.org wrote: Author: tn Date: Tue May 28 16:04:32 2013 New Revision: 1486982 URL: http://svn.apache.org/r1486982 Log: [MATH-851] Added method MathArray

[VOTE] Release Commons Parent 30-RC1

2013-05-28 Thread Gary Gregory
Hello All, This is a VOTE to release Commons Parent 30-RC1. The main changes in this release are RAT configuration changes: - updated excludes: added .pmd and download_*.cgi - changed excludes so child POM excludes will be appended to the parent list - duplicated settings in build section so they

Re: [dbcp] update DBCP2 to require JDBC 4.1 (Java 7) WAS svn commit: r1431496 - in /commons/proper/dbcp/trunk: ./ src/java/org/apache/commons/dbcp2/ src/java/org/apache/commons/dbcp2/cpdsadapter/ src/

2013-05-28 Thread Emmanuel Bourg
Le 28/05/2013 21:47, Gary Gregory a écrit : > Something seems out of bounds here. Strictly speaking I know we deliver > sources and we provide a jar as a convenience. > > The source we deliver comes with a clear definition through the POM on how > to build it. We say, the source is Java version X

Re: [dbcp] update DBCP2 to require JDBC 4.1 (Java 7) WAS svn commit: r1431496 - in /commons/proper/dbcp/trunk: ./ src/java/org/apache/commons/dbcp2/ src/java/org/apache/commons/dbcp2/cpdsadapter/ src/

2013-05-28 Thread Gary Gregory
On Tue, May 28, 2013 at 3:24 PM, Emmanuel Bourg wrote: > Le 28/05/2013 19:50, Phil Steitz a écrit : > > > Looks complicated and painful. I would rather put energy into > > getting dbcp 2.0 out the door and aim for the following: > > > > DBCP 1.3.x JDK 1.4-1.5 > > DBCP 1.4.x JDK 1.6 > > DBCP 2.x

Re: [dbcp] update DBCP2 to require JDBC 4.1 (Java 7) WAS svn commit: r1431496 - in /commons/proper/dbcp/trunk: ./ src/java/org/apache/commons/dbcp2/ src/java/org/apache/commons/dbcp2/cpdsadapter/ src

2013-05-28 Thread Emmanuel Bourg
Le 28/05/2013 19:50, Phil Steitz a écrit : > Looks complicated and painful. I would rather put energy into > getting dbcp 2.0 out the door and aim for the following: > > DBCP 1.3.x JDK 1.4-1.5 > DBCP 1.4.x JDK 1.6 > DBCP 2.xJDK 1.7 Unfortunately that doesn't solve the issue for the Linux di

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread Oliver Kopp
Hi, Gary wrote: > I'd rather see developers getting and staying involved than clamping new > versions down with old EOL'd JREs. According to http://www.oracle.com/technetwork/java/eol-135779.html, Java 6 already had its EOL on Feb 2013. Java 7 will have its EOL on March 2015 :). Debian stable su

Re: [Math] Accepting contributions (Was: svn commit: r1486982 - ...)

2013-05-28 Thread Thomas Neidhart
On 05/28/2013 08:20 PM, Gilles wrote: > On Tue, 28 May 2013 16:04:32 -, t...@apache.org wrote: >> Author: tn >> Date: Tue May 28 16:04:32 2013 >> New Revision: 1486982 >> >> URL: http://svn.apache.org/r1486982 >> Log: >> [MATH-851] Added method MathArrays.convolve, thanks to Clemens Novak >> fo

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread sebb
On 28 May 2013 19:28, Gary Gregory wrote: > On Tue, May 28, 2013 at 2:22 PM, sebb wrote: > >> On 28 May 2013 19:15, Gary Gregory wrote: >> > On Tue, May 28, 2013 at 2:08 PM, sebb wrote: >> > >> >> On 25 May 2013 18:47, wrote: >> >> > Author: bodewig >> >> > Date: Sat May 25 17:47:00 2013 >> >

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread Gary Gregory
On Tue, May 28, 2013 at 2:22 PM, sebb wrote: > On 28 May 2013 19:15, Gary Gregory wrote: > > On Tue, May 28, 2013 at 2:08 PM, sebb wrote: > > > >> On 25 May 2013 18:47, wrote: > >> > Author: bodewig > >> > Date: Sat May 25 17:47:00 2013 > >> > New Revision: 1486348 > >> > > >> > URL: http://s

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread sebb
On 28 May 2013 19:15, Gary Gregory wrote: > On Tue, May 28, 2013 at 2:08 PM, sebb wrote: > >> On 25 May 2013 18:47, wrote: >> > Author: bodewig >> > Date: Sat May 25 17:47:00 2013 >> > New Revision: 1486348 >> > >> > URL: http://svn.apache.org/r1486348 >> > Log: >> > provide access to all entri

[Math] Accepting contributions (Was: svn commit: r1486982 - ...)

2013-05-28 Thread Gilles
On Tue, 28 May 2013 16:04:32 -, t...@apache.org wrote: Author: tn Date: Tue May 28 16:04:32 2013 New Revision: 1486982 URL: http://svn.apache.org/r1486982 Log: [MATH-851] Added method MathArrays.convolve, thanks to Clemens Novak for the patch. -1 A significant part of this small patch (co

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread Gary Gregory
On Tue, May 28, 2013 at 2:08 PM, sebb wrote: > On 25 May 2013 18:47, wrote: > > Author: bodewig > > Date: Sat May 25 17:47:00 2013 > > New Revision: 1486348 > > > > URL: http://svn.apache.org/r1486348 > > Log: > > provide access to all entries of a given name in ZipFile, COMPRESS-227 > > -1, se

Re: svn commit: r1486348 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/zip/ZipFile.java test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java

2013-05-28 Thread sebb
On 25 May 2013 18:47, wrote: > Author: bodewig > Date: Sat May 25 17:47:00 2013 > New Revision: 1486348 > > URL: http://svn.apache.org/r1486348 > Log: > provide access to all entries of a given name in ZipFile, COMPRESS-227 -1, see below > Modified: > > commons/proper/compress/trunk/src/ma

Re: [dbcp] update DBCP2 to require JDBC 4.1 (Java 7) WAS svn commit: r1431496 - in /commons/proper/dbcp/trunk: ./ src/java/org/apache/commons/dbcp2/ src/java/org/apache/commons/dbcp2/cpdsadapter/ src

2013-05-28 Thread Phil Steitz
On 5/28/13 3:58 AM, Emmanuel Bourg wrote: > Le 11/01/2013 08:36, Mark Thomas a écrit : > >> We could also add the JDBC 4.1 methods to DBCP1 but I'm not sure I like the >> idea of three builds for that version. > I think we should do that. Debian and Fedora maintain a patch to be able > to build DB

Re: [DBCP] isClosed contract (DBCP-398)

2013-05-28 Thread Phil Steitz
On 5/28/13 1:58 AM, Mark Thomas wrote: > On 27/05/2013 15:49, Phil Steitz wrote: >> We need to make a decision on whether or not to change the contract >> for PoolableConnection (or DelegatingConnection or PoolGuardWrapper) >> isClosed. There are two changes suggested in DBCP-398: >> >> 1) Current

[Followup][Graph] the future of commons-graph and modularization

2013-05-28 Thread Simone Tripodi
Hi all guys, here it is my proposal[1], see r1486948. It has been quiet hard since he did not think in therms of separated modules, so I took the freedom to relocate some classes here and there. It is a experimental branch anyway, the purpose is just demonstrating the PoC. Looking forward to rea

Re: [dbcp] update DBCP2 to require JDBC 4.1 (Java 7) WAS svn commit: r1431496 - in /commons/proper/dbcp/trunk: ./ src/java/org/apache/commons/dbcp2/ src/java/org/apache/commons/dbcp2/cpdsadapter/ src/

2013-05-28 Thread Gary Gregory
On Tue, May 28, 2013 at 6:58 AM, Emmanuel Bourg wrote: > Le 11/01/2013 08:36, Mark Thomas a écrit : > > > We could also add the JDBC 4.1 methods to DBCP1 but I'm not sure I like > the idea of three builds for that version. > > I think we should do that. Debian and Fedora maintain a patch to be ab

[continuum] BUILD FAILURE: Apache Commons - Commons Compress -

2013-05-28 Thread Continuum@vmbuild
Group (shared) Maven 2 Build Definition (Java 1.5) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Continuum-Build-Host: vmbuild X-Continuum-Project-Id: 64 X-Continuum-Project-Name: Commons Compress Online report : http://vmbuild.apache.org

Re: [dbcp] update DBCP2 to require JDBC 4.1 (Java 7) WAS svn commit: r1431496 - in /commons/proper/dbcp/trunk: ./ src/java/org/apache/commons/dbcp2/ src/java/org/apache/commons/dbcp2/cpdsadapter/ src

2013-05-28 Thread Emmanuel Bourg
Le 11/01/2013 08:36, Mark Thomas a écrit : > We could also add the JDBC 4.1 methods to DBCP1 but I'm not sure I like the > idea of three builds for that version. I think we should do that. Debian and Fedora maintain a patch to be able to build DBCP from source (see DBCP-385), but we should assum

[Graph] Missing algorithms

2013-05-28 Thread Oliver Kopp
Hi, In a discussion with Simone, we thought it would be a good idea of having a list of missing algorithms in Apache Commons Graph. I compiled a first shot for such a list in https://issues.apache.org/jira/browse/SANDBOX-458. Although there are BSD-licensed graph-libraries, jBPT is the only libra

Re: [DBCP] isClosed contract (DBCP-398)

2013-05-28 Thread Mark Thomas
On 27/05/2013 15:49, Phil Steitz wrote: > We need to make a decision on whether or not to change the contract > for PoolableConnection (or DelegatingConnection or PoolGuardWrapper) > isClosed. There are two changes suggested in DBCP-398: > > 1) Currently, isClosed returns true if the connection h

Re: [chain] improving current registry and configuration APIs

2013-05-28 Thread Simone Tripodi
Hi Bene! thanks a lot in advance! new fresh energies are required at all levels, from giving feedbacks 'till leg-work! :) welcome aboard! Alles Gute! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Tu

[DISCUSS] Accept BeanShell to Commons Sandbox (Was: [VOTE] Accept Apache BeanShell in the Incubator)

2013-05-28 Thread Simone Tripodi
Hi all PMC members, I started a VOTE thread in general@incubator to accept BeanShell in the incubating projects, Bertrand Delacretaz and Ant Elder made interesting observations (pasted below) about accepting BeanShell directly to Commons. I think we are in the similar past situations when we vote