From 0c0952862e40266d3d8add0693ad1b8f7c8d6bef Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 16 Nov 2023 19:10:14 +1000 Subject: [PATCH] add @Restricted(NoExternalUse.class) Signed-off-by: Olivier Lamy --- core/src/main/java/hudson/ProxyConfigurationManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/ProxyConfigurationManager.java b/core/src/main/java/hudson/ProxyConfigurationManager.java index 42f890ca8422a..52f15f84c87e3 100644 --- a/core/src/main/java/hudson/ProxyConfigurationManager.java +++ b/core/src/main/java/hudson/ProxyConfigurationManager.java @@ -30,9 +30,11 @@ import jenkins.model.GlobalConfiguration; import jenkins.model.Jenkins; import net.sf.json.JSONObject; +import org.kohsuke.accmod.Restricted; +import org.kohsuke.accmod.restrictions.NoExternalUse; import org.kohsuke.stapler.StaplerRequest; -@Extension +@Extension @Restricted(NoExternalUse.class) public class ProxyConfigurationManager extends GlobalConfiguration { @NonNull