No effective change - code cleanup - remove unused

This commit is contained in:
Robin Bygrave
2015-08-01 20:11:21 +12:00
parent ca12761fb2
commit ae9a03e58c
@@ -16,8 +16,6 @@ public class ClassPathSearchFilter {
private boolean defaultJarMatch = false;
private String ebeanJarPrefix = "ebean";
private final HashSet<String> includePackageSet = new HashSet<String>();
private final HashSet<String> excludePackageSet = new HashSet<String>();
@@ -30,18 +28,6 @@ public class ClassPathSearchFilter {
addDefaultExcludePackages();
}
/**
* Set the name of the ebean jar file. Used with class path search to find
* the "Meta" entity beans that are contained within the ebean jar.
* <p>
* You only need to set this if the ebean jar file name starts with
* something other than ebean.
* </p>
*/
public void setEbeanJarPrefix(String ebeanJarPrefix) {
this.ebeanJarPrefix = ebeanJarPrefix;
}
/**
* Return the explicit packages that should be searched.
*/
@@ -75,17 +61,6 @@ public class ClassPathSearchFilter {
excludePackage("com.avaje.lib");
}
/**
* Clear all entries from the exclude packages list.
* <p>
* This includes the entries added by addDefaultExcludePackages() which is
* done on construction.
* </p>
*/
public void clearExcludePackages() {
excludePackageSet.clear();
}
/**
* Set the default for jar matching when a jar is neither explicitly
* included or excluded.
@@ -116,13 +91,6 @@ public class ClassPathSearchFilter {
excludePackageSet.add(pckgName);
}
/**
* Add a jar to explicitly exclude in the search.
*/
public void excludeJar(String jarName) {
excludeJarSet.add(jarName);
}
/**
* Add a jar to explicitly include in the search.
*/
@@ -155,9 +123,6 @@ public class ClassPathSearchFilter {
* Return true if the jar should be included in the search.
*/
public boolean isSearchJar(String jarName) {
if (jarName.startsWith(ebeanJarPrefix)) {
return true;
}
if (containedIn(includeJarSet, jarName)) {
return true;