Skip to content

Commit df720aa

Browse files
Bump org.jenkins-ci.plugins:plugin from 5.7 to 5.9 (#291)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 44f5236 commit df720aa

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>5.7</version>
7+
<version>5.9</version>
88
<relativePath />
99
</parent>
1010

src/main/java/org/jenkinsci/plugins/GithubAuthenticationToken.java

-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ of this software and associated documentation files (the "Software"), to deal
3030
import com.github.benmanes.caffeine.cache.Caffeine;
3131
import edu.umd.cs.findbugs.annotations.NonNull;
3232
import edu.umd.cs.findbugs.annotations.Nullable;
33-
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
3433
import hudson.model.Item;
3534
import hudson.security.Permission;
3635
import hudson.security.SecurityRealm;
@@ -183,12 +182,10 @@ public boolean isPrivate() {
183182
}
184183
}
185184

186-
@SuppressFBWarnings(value = "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
187185
public GithubAuthenticationToken(final String accessToken, final String githubServer) throws IOException {
188186
this(accessToken, githubServer, false);
189187
}
190188

191-
@SuppressFBWarnings(value = "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
192189
public GithubAuthenticationToken(final String accessToken, final String githubServer, final boolean clearUserCache) throws IOException {
193190
super(List.of());
194191

@@ -374,7 +371,6 @@ public GHMyself getMyself() throws IOException {
374371
* @return the Set of org names current user is a member of
375372
*/
376373
@NonNull
377-
@SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
378374
private Set<String> getUserOrgs() {
379375
return userOrganizationCache.get(this.userName, unused -> {
380376
try {
@@ -439,7 +435,6 @@ private boolean isReadRelatedPermission(@NonNull Permission permission) {
439435
* @return [description]
440436
*/
441437
@NonNull
442-
@SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
443438
private Cache<String, RepoRights> myRepositories() {
444439
return repositoriesByUserCache.get(this.userName, unused -> {
445440
// listRepositories returns all repos owned by user, where they are a collaborator,
@@ -519,7 +514,6 @@ GHOrganization loadOrganization(@NonNull String organization) {
519514
}
520515

521516
@NonNull
522-
@SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
523517
private RepoRights loadRepository(@NonNull final String repositoryName) {
524518
try {
525519
if (gh != null && isAuthenticated() && (myRealm.hasScope("repo") || myRealm.hasScope("public_repo"))) {

src/main/java/org/jenkinsci/plugins/GithubOAuthUserDetails.java

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package org.jenkinsci.plugins;
55

66
import edu.umd.cs.findbugs.annotations.NonNull;
7-
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
87
import java.util.Collection;
98
import org.springframework.security.core.GrantedAuthority;
109
import org.springframework.security.core.userdetails.User;
@@ -14,7 +13,6 @@
1413
* @author Mike
1514
*
1615
*/
17-
@SuppressFBWarnings("EQ_DOESNT_OVERRIDE_EQUALS")
1816
public class GithubOAuthUserDetails extends User implements UserDetails {
1917

2018
private static final long serialVersionUID = 1L;

0 commit comments

Comments
 (0)