Skip to content

Commit

Permalink
[JENKINS-31162] @daniel-beck's comment was addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Mar 14, 2016
1 parent 2356791 commit 21472ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/hudson/model/View.java
Expand Up @@ -64,6 +64,7 @@
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.tools.ant.filters.StringInputStream;
import org.kohsuke.accmod.restrictions.DoNotUse;
import org.kohsuke.stapler.HttpResponse;
import org.kohsuke.stapler.HttpResponses;
import org.kohsuke.stapler.Stapler;
Expand Down Expand Up @@ -1008,6 +1009,7 @@ public synchronized void doDoDelete(StaplerRequest req, StaplerResponse rsp) thr
*
* @since TODO
*/
@Restricted(DoNotUse.class)
public Categories doCategories(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
return ItemGroupMixIn.getCategories(Jenkins.getAuthentication(), Jenkins.getInstance());
}
Expand Down

0 comments on commit 21472ba

Please sign in to comment.