mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-05 16:15:54 +00:00
don't unnecessary expose callable
This commit is contained in:
1 parent
dfa6e2cf0c
commit
3e596c9463
1 file changed
+3
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user