diff --git a/threadposter/src/main/java/com/techyourchance/threadposter/BackgroundThreadPoster.java b/threadposter/src/main/java/com/techyourchance/threadposter/BackgroundThreadPoster.java index b327212..de7c0f5 100755 --- a/threadposter/src/main/java/com/techyourchance/threadposter/BackgroundThreadPoster.java +++ b/threadposter/src/main/java/com/techyourchance/threadposter/BackgroundThreadPoster.java @@ -26,7 +26,7 @@ public final void post(Runnable runnable) { * In general, this method shouldn't be used and is provided only for the purpose of * integration with existing libraries and frameworks. */ - public final ThreadPoolExecutor getThreadPoolExecutor() { + protected final ThreadPoolExecutor getThreadPoolExecutor() { return mThreadPoolExecutor; } @@ -35,7 +35,7 @@ public final ThreadPoolExecutor getThreadPoolExecutor() { * In general, this method shouldn't be used and is provided only for the purpose of * integration with existing libraries and frameworks. */ - public final ThreadFactory getThreadFactory() { + protected final ThreadFactory getThreadFactory() { return getThreadPoolExecutor().getThreadFactory(); }