Skip to content

Commit

Permalink
Replace JSR-305 annotation with spotbugs annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Feb 14, 2022
1 parent ce9461f commit 555a93e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/java/org/jenkinsci/plugins/gogs/GogsPayload.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import hudson.model.EnvironmentContributingAction;
import hudson.model.InvisibleAction;

import javax.annotation.Nonnull;
import edu.umd.cs.findbugs.annotations.NonNull;

import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
Expand All @@ -17,7 +18,7 @@ public GogsPayload(Map<String, String> payload) {
this.payload = payload;
}

@Nonnull
@NonNull
private Map<String, String> getPayload() {
return payload;
}
Expand All @@ -32,4 +33,4 @@ public void buildEnvVars(AbstractBuild<?, ?> abstractBuild, EnvVars envVars) {
}

private static final Logger LOGGER = Logger.getLogger(GogsPayload.class.getName());
}
}

0 comments on commit 555a93e

Please sign in to comment.