Skip to content
Browse files

Remove unnecessary @SuppressWarnings("unchecked") and add it where ne…

…cessary.
  • Loading branch information...
1 parent d8165e7 commit f544d84dec81adcde9dc837317cd42b875d0d769 @ijuma ijuma committed Feb 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java/voldemort/store/readonly/JsonStoreBuilder.java
View
2 src/java/voldemort/store/readonly/JsonStoreBuilder.java
@@ -210,7 +210,6 @@ public static void main(String[] args) throws IOException {
}
}
- @SuppressWarnings("unchecked")
public void build() throws IOException {
logger.info("Building store " + storeDefinition.getName() + " for "
+ cluster.getNumberOfNodes() + " with " + numChunks + " chunks per node.");
@@ -321,6 +320,7 @@ public KeyValuePair toObject(byte[] bytes) {
private CompressionStrategy valueCompressor;
private CompressionStrategy keyCompressor;
+ @SuppressWarnings("unchecked")
public JsonObjectIterator(JsonReader reader, StoreDefinition storeDefinition) {
SerializerFactory factory = new DefaultSerializerFactory();

0 comments on commit f544d84

Please sign in to comment.
Something went wrong with that request. Please try again.