mirror of https://github.com/apache/jclouds.git
nit addressed :)
This commit is contained in:
parent
f04ef5ad4c
commit
9c9ce80aa3
|
@ -56,7 +56,7 @@ public class VirtualBoxContextBuilder extends StandaloneComputeServiceContextBui
|
|||
protected void addHostModuleIfNotPresent(List<Module> modules) {
|
||||
if (!Iterables.any(modules, new Predicate<Module>() {
|
||||
public boolean apply(Module input) {
|
||||
return input.getClass().equals(CacheNodeStoreModule.class);
|
||||
return input instanceof CacheNodeStoreModule;
|
||||
}
|
||||
})) {
|
||||
CacheNodeStoreModule hostModule = new CacheNodeStoreModule(ImmutableMap.of(
|
||||
|
|
Loading…
Reference in New Issue