File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/main/java/org/jenkinsci/plugins/github_branch_source Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3838 <!-- TODO https://github.com/jenkinsci/jenkins/pull/11269 -->
3939 <jenkins .version>2.537-rc37714.d5718019b_8ff</jenkins .version>
4040 <spotless .check.skip>false</spotless .check.skip>
41- <!-- AvatarContributor in GitHubOrgMetadataAction; SuppressRestrictedWarnings doesn't work -->
42- <useBeta >true</useBeta >
4341 </properties >
4442
4543 <dependencyManagement >
9189 <groupId >org.jenkins-ci.plugins.workflow</groupId >
9290 <artifactId >workflow-support</artifactId >
9391 </dependency >
92+ <dependency >
93+ <groupId >org.kohsuke</groupId >
94+ <artifactId >access-modifier-suppressions</artifactId >
95+ <version >1.35</version >
96+ <scope >provided</scope >
97+ </dependency >
9498 <dependency >
9599 <groupId >io.jenkins</groupId >
96100 <artifactId >configuration-as-code</artifactId >
Original file line number Diff line number Diff line change 3434import jenkins .scm .api .metadata .AvatarMetadataAction ;
3535import jenkins .security .csp .AvatarContributor ;
3636import org .apache .commons .lang3 .StringUtils ;
37+ import org .kohsuke .accmod .restrictions .suppressions .SuppressRestrictedWarnings ;
3738import org .kohsuke .github .GHUser ;
3839import org .kohsuke .stapler .Stapler ;
3940
4344 *
4445 * @author Kohsuke Kawaguchi
4546 */
47+ @ SuppressRestrictedWarnings (AvatarContributor .class )
4648public class GitHubOrgMetadataAction extends AvatarMetadataAction {
4749 @ CheckForNull
4850 private final String avatar ;
You can’t perform that action at this time.
0 commit comments