Fix Javadoc nit. Better local var names.
@@ -113,18 +113,18 @@ class EvictionTimer {
private static class EvictorThreadFactory implements ThreadFactory {
@Override
- public Thread newThread(final Runnable r) {
- final Thread t = new Thread(null, r, "commons-pool-evictor-thread");
+ public Thread newThread(final Runnable runnable) {
+ final Thread thread = new Thread(null, runnable, "commons-pool-evictor-thread");
AccessController.doPrivileged(new PrivilegedAction<Void>() {
@Override
public Void run() {
- t.setContextClassLoader(EvictorThreadFactory.class.getClassLoader());
+ thread.setContextClassLoader(EvictorThreadFactory.class.getClassLoader());
return null;
}
});
- return t;
+ return thread;
}
}
}
