Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 98433 invoked from network); 24 Mar 2002 15:50:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Mar 2002 15:50:04 -0000 Received: (qmail 17336 invoked by uid 97); 24 Mar 2002 15:50:04 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 17320 invoked by uid 97); 24 Mar 2002 15:50:04 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 17309 invoked by uid 97); 24 Mar 2002 15:50:03 -0000 Date: 24 Mar 2002 15:50:00 -0000 Message-ID: <20020324155000.27187.qmail@icarus.apache.org> From: jvanzyl@apache.org To: jakarta-commons-sandbox-cvs@apache.org Subject: cvs commit: jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/impl DirectedGraphImpl.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jvanzyl 02/03/24 07:50:00 Modified: graph2 project.xml graph2/src/java/org/apache/commons/graph/impl DirectedGraphImpl.java Log: Adding fix so that the directed graph impl is not 1.4 specific and filtering inner classes out of the tests. Revision Changes Path 1.2 +2 -3 jakarta-commons-sandbox/graph2/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/graph2/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.xml 17 Mar 2002 16:28:13 -0000 1.1 +++ project.xml 24 Mar 2002 15:50:00 -0000 1.2 @@ -82,9 +82,8 @@ - - exclude = **/*.class - + include = **/*Test*.class + exclude = **/*$*.class 1.2 +4 -7 jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/impl/DirectedGraphImpl.java Index: DirectedGraphImpl.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/impl/DirectedGraphImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DirectedGraphImpl.java 17 Mar 2002 16:28:16 -0000 1.1 +++ DirectedGraphImpl.java 24 Mar 2002 15:50:00 -0000 1.2 @@ -452,16 +452,13 @@ Object args[]) throws Throwable { - try + try { return method.invoke(this, args); - } - catch (InvocationTargetException ex) + } + catch (InvocationTargetException ex) { - //!! David can fix this, this needs to run on 1.3 - return null; - //throw ex.getCause(); + throw ex.getTargetException(); } } - } -- To unsubscribe, e-mail: For additional commands, e-mail: