No effective change - remove unused code (old ClassPathReader etc)

This commit is contained in:
Robin Bygrave
2016-06-01 20:53:07 +12:00
parent 92caf69cb3
commit daba7a11b4
8 changed files with 1 additions and 302 deletions
@@ -1,26 +0,0 @@
package com.avaje.ebeaninternal.server.util;
import org.junit.Test;
import java.util.HashSet;
import static org.junit.Assert.*;
public class ClassPathSearchFilterTest {
@Test
public void testContainedIn() throws Exception {
HashSet<String> set = new HashSet<String>();
set.add("the-rock");
set.add("fooBar.jar");
ClassPathSearchFilter filter = new ClassPathSearchFilter();
assertTrue(filter.containedIn(set, "the-rock.jar"));
assertTrue(filter.containedIn(set, "the-rock-1.0.1.jar"));
assertTrue(filter.containedIn(set, "prefix-the-rock-1.0.1.jar"));
assertTrue(filter.containedIn(set, "fooBar.jar"));
assertFalse(filter.containedIn(set, "fooBar-1.3.jar"));
}
}
@@ -1,9 +0,0 @@
package com.avaje.ebeaninternal.server.util;
/**
* Exists only for including in the jar for the Class Path Search Tests.
*
* author: Richard Vowles - http://plus.google.com/RichardVowles
*/
public class SimpleJarBangClass {
}
@@ -1,9 +0,0 @@
package com.avaje.ebeaninternal.server.util;
/**
* Exists only for the purpose of putting in a jar for the ClassPathSearchTests.
*
* author: Richard Vowles - http://plus.google.com/RichardVowles
*/
public class SimpleJarClass {
}