This is an automated email from the ASF dual-hosted git repository.
cbrisson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/velocity-engine.git
The following commit(s) were added to refs/heads/master by this push:
new 9889509 Remove unused test methods
9889509 is described below
commit 98895094e7f52c4fba9956c3508f934ae2274e97
Author: Claude Brisson <[email protected]>
AuthorDate: Thu Feb 25 22:11:39 2021 +0100
Remove unused test methods
---
.../velocity/test/SecureIntrospectionTestCase.java | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git
a/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java
b/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java
index 081e48b..f504029 100644
---
a/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java
+++
b/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java
@@ -174,28 +174,6 @@ public class SecureIntrospectionTestCase extends
BaseTestCase
c.add("ccc");
return c;
}
-
- public ClassLoader getSampleClassLoader1()
- {
- return this.getClass().getClassLoader();
- }
-
- /**
- * sample property which is a subclass of ClassLoader
- * @return
- */
- public ClassLoader getSampleClassLoader2()
- {
- try
- {
- return new URLClassLoader(new URL[]{new URL("file://.")},
this.getClass().getClassLoader());
- }
- catch (MalformedURLException e)
- {
- throw new RuntimeException(e);
- }
- }
-
}