From 87eaf5edb12614bd621a9637291dd912799797d9 Mon Sep 17 00:00:00 2001 From: Vasiliy Zukanov Date: Sat, 18 Aug 2018 13:23:35 +0300 Subject: [PATCH] Making non-essential methods in BackgroundThreadPoster protected --- .../techyourchance/threadposter/BackgroundThreadPoster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }