From 9c9ce80aa3e1ded6f01b0463799a6c4c94edea5c Mon Sep 17 00:00:00 2001 From: David Ribeiro Alves Date: Sat, 10 Mar 2012 21:39:06 +0000 Subject: [PATCH] nit addressed :) --- .../java/org/jclouds/virtualbox/VirtualBoxContextBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/VirtualBoxContextBuilder.java b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/VirtualBoxContextBuilder.java index b6626445b2..b7a17c28c9 100644 --- a/labs/virtualbox/src/main/java/org/jclouds/virtualbox/VirtualBoxContextBuilder.java +++ b/labs/virtualbox/src/main/java/org/jclouds/virtualbox/VirtualBoxContextBuilder.java @@ -56,7 +56,7 @@ public class VirtualBoxContextBuilder extends StandaloneComputeServiceContextBui protected void addHostModuleIfNotPresent(List modules) { if (!Iterables.any(modules, new Predicate() { public boolean apply(Module input) { - return input.getClass().equals(CacheNodeStoreModule.class); + return input instanceof CacheNodeStoreModule; } })) { CacheNodeStoreModule hostModule = new CacheNodeStoreModule(ImmutableMap.of(