[SECURITY-420] Remove obsolete comments

This commit is contained in:
Daniel Beck authored and Jesse Glick committed 2017-04-13 13:32:35 -04:00
1 parent 912e963678
commit 758dfd474c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -172,7 +172,7 @@ public class Hudson extends Jenkins {
* Use {@link #doQuietDown()} instead.
*/
@Deprecated
@RequirePOST // Shouldn't be used anyway, but better be safe
@RequirePOST
public synchronized void doQuietDown(StaplerResponse rsp) throws IOException, ServletException {
doQuietDown().generateResponse(null, rsp, this);
}
@@ -2990,7 +2990,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
getPrimaryView().doSubmitDescription(req, rsp);
}
@RequirePOST // TODO does not seem to work on _either_ overload!
@RequirePOST
public synchronized HttpRedirect doQuietDown() throws IOException {
try {
return doQuietDown(false,0);