Permalink
Browse files

Add @SuppressWarnings("unchecked").

  • Loading branch information...
1 parent 8a4a4d3 commit 2b0efa0e5d8beb20eb62c9c83034b7b34c265e4f @ijuma ijuma committed Feb 2, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/unit/voldemort/store/readonly/ReadOnlyStorageEngineTestInstance.java
@@ -134,6 +134,7 @@ public static ReadOnlyStorageEngineTestInstance create(SearchStrategy strategy,
File nodeDir = TestUtils.createTempDir(baseDir);
@SuppressWarnings("unchecked")
Serializer<String> keySerializer = (Serializer<String>) new DefaultSerializerFactory().getSerializer(keySerDef);
+ @SuppressWarnings("unchecked")
Serializer<String> valueSerializer = (Serializer<String>) new DefaultSerializerFactory().getSerializer(valueSerDef);
Map<Integer, Store<String, String>> nodeStores = Maps.newHashMap();
for(int i = 0; i < numNodes; i++) {

0 comments on commit 2b0efa0

Please sign in to comment.