This is an automated email from the ASF dual-hosted git repository. fjy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push: new e46bdf0 Remove Codehaus references from the tests (#7773) e46bdf0 is described below commit e46bdf082e85edc478a361a4fca001055b05d552 Author: Fokko Driesprong <fo...@apache.org> AuthorDate: Mon May 27 19:51:14 2019 +0200 Remove Codehaus references from the tests (#7773) --- .../apache/druid/server/lookup/LoadingLookupFactoryTest.java | 12 ++++++------ .../druid/server/lookup/PollingLookupSerDeserTest.java | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/LoadingLookupFactoryTest.java b/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/LoadingLookupFactoryTest.java index 810686f..adda834 100644 --- a/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/LoadingLookupFactoryTest.java +++ b/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/LoadingLookupFactoryTest.java @@ -20,6 +20,7 @@ package org.apache.druid.server.lookup; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.druid.query.lookup.LookupExtractorFactory; @@ -27,7 +28,6 @@ import org.apache.druid.segment.TestHelper; import org.apache.druid.server.lookup.cache.loading.LoadingCache; import org.apache.druid.server.lookup.cache.loading.OffHeapLoadingCache; import org.apache.druid.server.lookup.cache.loading.OnHeapLoadingCache; -import org.codehaus.jackson.annotate.JsonCreator; import org.easymock.EasyMock; import org.junit.Assert; import org.junit.Test; @@ -38,11 +38,11 @@ import java.util.List; public class LoadingLookupFactoryTest { - DataFetcher dataFetcher = EasyMock.createMock(DataFetcher.class); - LoadingCache lookupCache = EasyMock.createStrictMock(LoadingCache.class); - LoadingCache reverseLookupCache = EasyMock.createStrictMock(LoadingCache.class); - LoadingLookup loadingLookup = EasyMock.createMock(LoadingLookup.class); - LoadingLookupFactory loadingLookupFactory = new LoadingLookupFactory( + private final DataFetcher dataFetcher = EasyMock.createMock(DataFetcher.class); + private final LoadingCache<String, String> lookupCache = EasyMock.createStrictMock(LoadingCache.class); + private final LoadingCache<String, List<String>> reverseLookupCache = EasyMock.createStrictMock(LoadingCache.class); + private final LoadingLookup loadingLookup = EasyMock.createMock(LoadingLookup.class); + private final LoadingLookupFactory loadingLookupFactory = new LoadingLookupFactory( dataFetcher, lookupCache, reverseLookupCache, diff --git a/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/PollingLookupSerDeserTest.java b/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/PollingLookupSerDeserTest.java index 350acb5..eef78c0 100644 --- a/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/PollingLookupSerDeserTest.java +++ b/extensions-core/lookups-cached-single/src/test/java/org/apache/druid/server/lookup/PollingLookupSerDeserTest.java @@ -19,6 +19,7 @@ package org.apache.druid.server.lookup; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.druid.jackson.DefaultObjectMapper; @@ -26,7 +27,6 @@ import org.apache.druid.query.lookup.LookupExtractorFactory; import org.apache.druid.server.lookup.cache.polling.OffHeapPollingCache; import org.apache.druid.server.lookup.cache.polling.OnHeapPollingCache; import org.apache.druid.server.lookup.cache.polling.PollingCacheFactory; -import org.codehaus.jackson.annotate.JsonCreator; import org.joda.time.Period; import org.junit.Assert; import org.junit.Test; @@ -53,7 +53,7 @@ public class PollingLookupSerDeserTest } private final PollingCacheFactory cacheFactory; - private DataFetcher dataFetcher = new MockDataFetcher(); + private final DataFetcher dataFetcher = new MockDataFetcher(); public PollingLookupSerDeserTest(PollingCacheFactory cacheFactory) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org