Adding fix so that the directed graph impl is not 1.4 specific and
filtering inner classes out of the tests. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/graph2/trunk@144600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
5bf117c877
commit
7e1c6c18f8
2 files changed
+6
-10
No files matched your search
+2
-3
@@ -82,9 +82,8 @@
|
||||
</aspectSourceDirectories>
|
||||
|
||||
<unitTestClassEntries>
|
||||
<unitTestClassEntry>
|
||||
exclude = **/*.class
|
||||
</unitTestClassEntry>
|
||||
<unitTestClassEntry>include = **/*Test*.class</unitTestClassEntry>
|
||||
<unitTestClassEntry>exclude = **/*$*.class</unitTestClassEntry>
|
||||
</unitTestClassEntries>
|
||||
|
||||
<runtimeTestClassEntries>
|
||||
|
||||
@@ -452,16 +452,13 @@ public class DirectedGraphImpl
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user