diff --git a/src/main/java/org/jenkinsci/plugins/workflow/support/concurrent/MoreExecutors.java b/src/main/java/org/jenkinsci/plugins/workflow/support/concurrent/MoreExecutors.java index 2438ff7b..ce57ae80 100644 --- a/src/main/java/org/jenkinsci/plugins/workflow/support/concurrent/MoreExecutors.java +++ b/src/main/java/org/jenkinsci/plugins/workflow/support/concurrent/MoreExecutors.java @@ -57,7 +57,7 @@ private MoreExecutors() {} * tasks -- even tasks that are not themselves {@code directExecutor} tasks. *
  • If many such tasks are chained together (such as with {@code * future.transform(...).transform(...).transform(...)....}), they may overflow the stack. - * (In simple cases, callers can avoid this by registering all tasks with the same {@link + * (In simple cases, callers can avoid this by registering all tasks with the same {@code * MoreExecutors#newSequentialExecutor} wrapper around {@code directExecutor()}. More * complex cases may require using thread pools or making deeper changes.) * @@ -76,7 +76,7 @@ private MoreExecutors() {} * } * } * - *

    This should be preferred to {@link #newDirectExecutorService()} because implementing the + *

    This should be preferred to {@code #newDirectExecutorService()} because implementing the * {@link ExecutorService} subinterface necessitates significant performance overhead. * *