Merge pull request #2250 from himanshug/agg_test_helper_fix

remove redundant registering of json modules in AggregationTestHelper
This commit is contained in:
Nishant 2016-01-12 11:42:00 +05:30
commit dfe6abb721
1 changed files with 0 additions and 4 deletions

View File

@ -132,10 +132,6 @@ public class AggregationTestHelper
{ {
ObjectMapper mapper = new DefaultObjectMapper(); ObjectMapper mapper = new DefaultObjectMapper();
for(Module mod : jsonModulesToRegister) {
mapper.registerModule(mod);
}
Supplier<GroupByQueryConfig> configSupplier = Suppliers.ofInstance(new GroupByQueryConfig()); Supplier<GroupByQueryConfig> configSupplier = Suppliers.ofInstance(new GroupByQueryConfig());
StupidPool<ByteBuffer> pool = new StupidPool<>( StupidPool<ByteBuffer> pool = new StupidPool<>(
new Supplier<ByteBuffer>() new Supplier<ByteBuffer>()