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 @@
        </aspectSourceDirectories>
   
        <unitTestClassEntries>
  -       <unitTestClassEntry>
  -         exclude = **/*.class
  -       </unitTestClassEntry>
  +       <unitTestClassEntry>include = **/*Test*.class</unitTestClassEntry>
  +       <unitTestClassEntry>exclude = **/*$*.class</unitTestClassEntry>
        </unitTestClassEntries>
   
        <runtimeTestClassEntries>
  
  
  
  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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to