提交 0c2d194f 编写于 作者: J Jesse Glick 提交者: Oleg Nenashev

doQuietDown() cannot actually throw IOException. (#4151)

上级 3d811562
......@@ -3836,10 +3836,10 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
}
@RequirePOST
public synchronized HttpRedirect doQuietDown() throws IOException {
public synchronized HttpRedirect doQuietDown() {
try {
return doQuietDown(false,0);
} catch (InterruptedException e) {
} catch (IOException | InterruptedException e) {
throw new AssertionError(); // impossible
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册