don't unnecessary expose callable

This commit is contained in:
Nicolas De Loof committed 2012-09-06 16:27:11 +02:00
1 parent dfa6e2cf0c
commit 3e596c9463
1 file changed
+3 -2
+3 -2
View File
@@ -868,13 +868,14 @@ public final class FilePath implements Serializable {
*/
public abstract class AbstractInterceptorCallableWrapper<T> implements DelegatingCallable<T, IOException> {
protected DelegatingCallable<T, IOException> callable;
private final DelegatingCallable<T, IOException> callable;
public AbstractInterceptorCallableWrapper(DelegatingCallable<T, IOException> callable) {
this.callable = callable;
}
public ClassLoader getClassLoader() {
@Override
public final ClassLoader getClassLoader() {
return callable.getClassLoader();
}