提交 86fed623 编写于 作者: J Jesse Glick

Addressing some review comments from @stephenc.

上级 5f264940
......@@ -653,9 +653,10 @@ public class Executor extends Thread implements ModelObject {
}
/**
* Finds the executor running a given process.
* Finds the executor currently running a given process.
* @param executable a possibly running executable
* @return the executor (possibly a {@link OneOffExecutor}) whose {@link Executor#getCurrentExecutable} matches that, or null
* @return the executor (possibly a {@link OneOffExecutor}) whose {@link Executor#getCurrentExecutable} matches that,
* or null if it could not be found (for example because the execution has already completed)
* @since TODO
*/
public static @CheckForNull Executor of(Executable executable) {
......
......@@ -3498,7 +3498,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
System.exit(0);
}
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Failed to shutdown Hudson",e);
LOGGER.log(Level.WARNING, "Failed to shut down Jenkins", e);
}
}
}.start();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册