Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Bug
-
None
-
None
-
None
Description
stillalex, looking at the CugConfiguration again I spotted that unbindMountInfoProvider sets the mountInfoProvider field to null, while it initially gets set to a default as follows:
@Reference
private MountInfoProvider mountInfoProvider = Mounts.defaultMountInfoProvider();
shouldn't unbinding restore the default and by thus make sure it's not null? if i am missing something feel free to resolved as not a problem... otherwise i would fix it and write a dedicated unit test for the bind/unbind.