Browse Source

typo

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@918317 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 15 years ago
parent
commit
13b958488b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/tests/antunit/core/classloader-test.xml

+ 3
- 3
src/tests/antunit/core/classloader-test.xml View File

@@ -35,7 +35,7 @@
public class A {
public static void main(String[] args) {
if (A.class.getClassLoader().getResource("org/apache/xerces/jaxp/DocumentBuilderFactoryImpl.class") != null) {
throw new RuntimeException("Didn't expect to find DocumenBuilderImpl");
throw new RuntimeException("Didn't expect to find DocumentBuilderImpl");
}
}
}
@@ -54,7 +54,7 @@ public class A {
public static void main(String[] args) {
try {
A.class.getClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
throw new RuntimeException("Didn't expect to find DocumenBuilderImpl");
throw new RuntimeException("Didn't expect to find DocumentBuilderImpl");
} catch (ClassNotFoundException cnfe) {
}
}
@@ -74,7 +74,7 @@ public class A {
public class A {
public static void main(String[] args) {
if (A.class.getClassLoader().getResourceAsStream("org/apache/xerces/jaxp/DocumentBuilderFactoryImpl.class") != null) {
throw new RuntimeException("Didn't expect to find DocumenBuilderImpl");
throw new RuntimeException("Didn't expect to find DocumentBuilderImpl");
}
}
}


Loading…
Cancel
Save