Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Nov 25, 2019
1 parent 69e50d3 commit 8487eb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/jenkins/slaves/WebSocketAgents.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
import jenkins.websocket.WebSockets;
import org.jenkinsci.remoting.engine.JnlpConnectionState;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.DoNotUse;
import org.kohsuke.accmod.restrictions.NoExternalUse;
import org.kohsuke.stapler.Header;
import org.kohsuke.stapler.HttpResponse;
import org.kohsuke.stapler.HttpResponses;
import org.kohsuke.stapler.StaplerResponse;

@Extension
@Restricted(DoNotUse.class)
@Restricted(NoExternalUse.class)
public final class WebSocketAgents extends InvisibleAction implements UnprotectedRootAction {

private static final String CAPABILITY_KEY = /* Capability.class.getName() */"hudson.remoting.Capability";
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/jenkins/websocket/WebSocketEcho.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
import hudson.model.UnprotectedRootAction;
import java.nio.ByteBuffer;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.DoNotUse;
import org.kohsuke.accmod.restrictions.NoExternalUse;
import org.kohsuke.stapler.HttpResponse;

@Extension
@Restricted(DoNotUse.class)
@Restricted(NoExternalUse.class)
public class WebSocketEcho extends InvisibleAction implements UnprotectedRootAction {

@Override
Expand Down

0 comments on commit 8487eb4

Please sign in to comment.