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:
parent
e715279cbb
commit
93032ecf8d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user