forked from I2P_Developers/i2p.i2p
Update: Preliminary work for su3 router updates:
- new ROUTER_SIGNED_SU3 UpdateType - Add support for torrent and HTTP - Refactor UpdateRunners to return actual UpdateType - Deal with signed/su3 conflicts - unpack/verify stubbed only
This commit is contained in:
@ -60,7 +60,7 @@ class PluginUpdateRunner extends UpdateRunner {
|
||||
|
||||
public PluginUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris,
|
||||
String appName, String oldVersion ) {
|
||||
super(ctx, mgr, uris);
|
||||
super(ctx, mgr, UpdateType.PLUGIN, uris);
|
||||
if (uris.isEmpty())
|
||||
throw new IllegalArgumentException("uri cannot be empty");
|
||||
else
|
||||
@ -70,12 +70,6 @@ class PluginUpdateRunner extends UpdateRunner {
|
||||
_oldVersion = oldVersion;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public UpdateType getType() {
|
||||
return UpdateType.PLUGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public URI getURI() { return _uri; }
|
||||
|
||||
|
Reference in New Issue
Block a user