- NPE fix on signed udpates

- More work on snark updater
- Clean up imports
This commit is contained in:
zzz
2012-10-21 13:34:23 +00:00
parent 6331cb2374
commit 6e19854e4c
10 changed files with 71 additions and 55 deletions

View File

@ -522,7 +522,7 @@ public class RouterContext extends I2PAppContext {
/**
* The controller of router, plugin, and other updates.
* @return The manager if it is registered, else null
* @since 0.9.2
* @since 0.9.4
*/
@Override
public UpdateManager updateManager() {
@ -532,7 +532,7 @@ public class RouterContext extends I2PAppContext {
/**
* Register as the update manager.
* @throws IllegalStateException if one was already registered
* @since 0.9.2
* @since 0.9.4
*/
public void registerUpdateManager(UpdateManager mgr) {
synchronized(_lock3) {
@ -545,7 +545,7 @@ public class RouterContext extends I2PAppContext {
/**
* Unregister the update manager.
* @throws IllegalStateException if it was not registered
* @since 0.9.2
* @since 0.9.4
*/
public void unregisterUpdateManager(UpdateManager mgr) {
synchronized(_lock3) {