Closeable.close in StandbyStoreService declares exception that is never thrown
@@ -22,7 +22,6 @@ import static org.apache.felix.scr.annotations.ReferencePolicy.STATIC;
import static org.apache.felix.scr.annotations.ReferencePolicyOption.GREEDY;
import java.io.Closeable;
-import java.io.IOException;
import java.util.Dictionary;
import java.util.Hashtable;
@@ -171,7 +170,7 @@ public class StandbyStoreService {
return new Closeable() {
@Override
- public void close() throws IOException {
+ public void close() {
r.unregister();
}
