Skip to content

Commit

Permalink
Merge pull request #98 from MarkEWaite/fix-jsr-305
Browse files Browse the repository at this point in the history
Replace JSR-305 annotations with spotbugs annotations
  • Loading branch information
tzachs authored Aug 8, 2024
2 parents b7840eb + 2fe6f81 commit 62fc3e5
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import hudson.model.InvisibleAction;
import hudson.model.Run;

import javax.annotation.Nonnull;
import java.util.logging.Level;
import java.util.logging.Logger;

Expand All @@ -16,13 +15,13 @@
* @version 1.1.5
*/
public class BitBucketPayload extends InvisibleAction implements EnvironmentContributingAction {
private final @Nonnull String payload;
private final @NonNull String payload;

public BitBucketPayload(@Nonnull String payload) {
public BitBucketPayload(@NonNull String payload) {
this.payload = payload;
}

@Nonnull
@NonNull
public String getPayload() {
return payload;
}
Expand Down

0 comments on commit 62fc3e5

Please sign in to comment.