提交 260b0947 编写于 作者: O Oliver Gondža

Avoid diamonds for now

上级 85960040
......@@ -1252,7 +1252,7 @@ public class Queue extends ResourceController implements Saveable {
public static <V, T extends Throwable> hudson.remoting.Callable<V, T> wrapWithLock(hudson.remoting.Callable<V, T> callable) {
final Jenkins jenkins = Jenkins.getInstance();
final Queue queue = jenkins == null ? null : jenkins.getQueue();
return queue == null ? callable : new LockedHRCallable<>(callable);
return queue == null ? callable : new LockedHRCallable<V, T>(callable);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册