Permalink
Browse files

Remove more generics related warnings.

  • Loading branch information...
1 parent 77ece62 commit f5e6c7f78476dc230d619ae9949dbe6e3c005e15 @afeinberg afeinberg committed Jan 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/java/voldemort/client/CachingStoreClientFactory.java
View
4 src/java/voldemort/client/CachingStoreClientFactory.java
@@ -103,8 +103,8 @@ public void bootstrapAllClients() {
List<StoreClient<?, ?>> allClients = ImmutableList.copyOf(cache.values());
try {
for(StoreClient<?, ?> client: allClients) {
- if(client instanceof DefaultStoreClient)
- ((DefaultStoreClient) client).bootStrap();
+ if(client instanceof DefaultStoreClient<?, ?>)
+ ((DefaultStoreClient<?, ?>) client).bootStrap();
}
} catch(Exception e) {
logger.warn("Exception during bootstrapAllClients", e);

0 comments on commit f5e6c7f

Please sign in to comment.