From c721ad97a996c724313d0f1cf182cdc38ab8f589 Mon Sep 17 00:00:00 2001 From: Matt Jacobs Date: Wed, 13 Jan 2016 13:26:06 -0800 Subject: [PATCH] Cleanup unused imports from #1032 --- .../netflix/hystrix/HystrixTimerThreadPoolProperties.java | 8 -------- .../HystrixPropertiesTimerThreadPoolDefault.java | 2 -- .../java/com/netflix/hystrix/util/HystrixTimerTest.java | 1 - 3 files changed, 11 deletions(-) diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixTimerThreadPoolProperties.java b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixTimerThreadPoolProperties.java index bb8aece1c..bdc0ea58a 100644 --- a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixTimerThreadPoolProperties.java +++ b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixTimerThreadPoolProperties.java @@ -67,13 +67,5 @@ public Setter withCoreSize(int value) { this.coreSize = value; return this; } - - /** - * Base properties for unit testing. - */ - /* package */ - static Setter getUnitTestPropertiesBuilder() { - return new Setter().withCoreSize(10); // size of thread pool - } } } diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/strategy/properties/HystrixPropertiesTimerThreadPoolDefault.java b/hystrix-core/src/main/java/com/netflix/hystrix/strategy/properties/HystrixPropertiesTimerThreadPoolDefault.java index e9a67bbf2..8e7e9d9a6 100644 --- a/hystrix-core/src/main/java/com/netflix/hystrix/strategy/properties/HystrixPropertiesTimerThreadPoolDefault.java +++ b/hystrix-core/src/main/java/com/netflix/hystrix/strategy/properties/HystrixPropertiesTimerThreadPoolDefault.java @@ -15,8 +15,6 @@ */ package com.netflix.hystrix.strategy.properties; -import com.netflix.hystrix.HystrixThreadPoolKey; -import com.netflix.hystrix.HystrixThreadPoolProperties; import com.netflix.hystrix.HystrixTimerThreadPoolProperties; /** diff --git a/hystrix-core/src/test/java/com/netflix/hystrix/util/HystrixTimerTest.java b/hystrix-core/src/test/java/com/netflix/hystrix/util/HystrixTimerTest.java index 09e6651f0..9899ede07 100644 --- a/hystrix-core/src/test/java/com/netflix/hystrix/util/HystrixTimerTest.java +++ b/hystrix-core/src/test/java/com/netflix/hystrix/util/HystrixTimerTest.java @@ -15,7 +15,6 @@ */ package com.netflix.hystrix.util; -import com.netflix.hystrix.Hystrix; import com.netflix.hystrix.HystrixTimerThreadPoolProperties; import com.netflix.hystrix.strategy.HystrixPlugins; import com.netflix.hystrix.strategy.properties.HystrixPropertiesStrategy;