feature(worker): remove unnecessary functions and permissions

This commit is contained in:
bencvdb 2019-06-27 09:07:17 -07:00
parent d2f95cb5ed
commit ce875f3d48

View file

@ -468,7 +468,7 @@ public class Worker implements Runnable {
/**
* @return the leaseCoordinator
*/
public KinesisClientLibLeaseCoordinator getLeaseCoordinator() {
KinesisClientLibLeaseCoordinator getLeaseCoordinator() {
return leaseCoordinator;
}
@ -1033,10 +1033,6 @@ public class Worker implements Runnable {
return new WorkerThreadPoolExecutor(threadFactory);
}
public ExecutorService returnExecutorService() {
return this.executorService;
}
private static <S, T> void setField(final S source, final String field, final Consumer<T> t, T value) {
try {
t.accept(value);