nit addressed :)

This commit is contained in:
David Ribeiro Alves 2012-03-10 21:39:06 +00:00
parent f04ef5ad4c
commit 9c9ce80aa3
1 changed files with 1 additions and 1 deletions

View File

@ -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(