ServerPlugin: Remove unused CacheKey static class

ServerPlugin's parent class, Plugin, defines CacheKey and that is
the one that's used everywhere.

Change-Id: I9dd3e7f04847f12f69adf5331a2a27dddf9fa6cf
This commit is contained in:
David Pursehouse 2016-05-12 16:03:59 +09:00
parent e715279cbb
commit 93032ecf8d

View File

@ -37,22 +37,6 @@ import java.util.jar.Attributes;
import java.util.jar.Manifest;
public class ServerPlugin extends Plugin {
/** Unique key that changes whenever a plugin reloads. */
public static final class CacheKey {
private final String name;
CacheKey(String name) {
this.name = name;
}
@Override
public String toString() {
int id = System.identityHashCode(this);
return String.format("Plugin[%s@%x]", name, id);
}
}
private final Manifest manifest;
private final PluginContentScanner scanner;
private final Path dataDir;