Skip to content

Commit

Permalink
Clean up after jenkinsci/jenkins#9150 (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored Jan 15, 2025
2 parents 4e577ce + 799192b commit 5acc0cb
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
import jenkins.model.Jenkins;
import jenkins.model.ProjectNamingStrategy;
import org.jenkins.ui.icon.IconSpec;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.NoExternalUse;
import org.kohsuke.stapler.AncestorInPath;
import org.kohsuke.stapler.QueryParameter;
import org.kohsuke.stapler.Stapler;
import org.kohsuke.stapler.StaplerRequest2;

Expand Down Expand Up @@ -134,12 +130,6 @@ public List<FolderIconDescriptor> getIconDescriptors() {
return r;
}

@Restricted(NoExternalUse.class)
public FormValidation doCheckDisplayNameOrNull(@AncestorInPath AbstractFolder folder, @QueryParameter String value) {
return Jenkins.get().doCheckDisplayName(value, folder.getName());
}


/**
* Needed if it wants Folder are categorized in Jenkins 2.x.
*
Expand Down

0 comments on commit 5acc0cb

Please sign in to comment.