|
191 | 191 | import com.trilead.ssh2.SCPClient;
|
192 | 192 | import com.trilead.ssh2.crypto.Base64;
|
193 | 193 | import static java.util.stream.Collectors.toList;
|
194 |
| -import javax.annotation.Nonnull; |
| 194 | +import edu.umd.cs.findbugs.annotations.NonNull; |
195 | 195 | import jenkins.MasterToSlaveFileCallable;
|
196 | 196 | import jenkins.security.Roles;
|
197 | 197 | import jenkins.security.SlaveToMasterCallable;
|
@@ -2237,7 +2237,7 @@ public boolean isBrowserReusable(SubversionSCM x, SubversionSCM y) {
|
2237 | 2237 | return true;
|
2238 | 2238 | }
|
2239 | 2239 |
|
2240 |
| - @Nonnull |
| 2240 | + @NonNull |
2241 | 2241 | @Override
|
2242 | 2242 | public Permission getRequiredGlobalConfigPagePermission() {
|
2243 | 2243 | return Jenkins.MANAGE;
|
@@ -2924,7 +2924,7 @@ public SVNURL getRepositoryRoot(AbstractProject context) throws SVNException {
|
2924 | 2924 | return getRepositoryRoot(context, context.getScm());
|
2925 | 2925 | }
|
2926 | 2926 |
|
2927 |
| - public @Nonnull SVNURL getRepositoryRoot(Job context, SCM scm) throws SVNException { |
| 2927 | + public @NonNull SVNURL getRepositoryRoot(Job context, SCM scm) throws SVNException { |
2928 | 2928 | getUUID(context, scm);
|
2929 | 2929 | return repositoryRoot;
|
2930 | 2930 | }
|
@@ -3233,7 +3233,7 @@ public FormValidation doCheckCredentialsId(StaplerRequest req, @AncestorInPath I
|
3233 | 3233 | /**
|
3234 | 3234 | * Validate the value for a remote (repository) location.
|
3235 | 3235 | */
|
3236 |
| - public FormValidation checkCredentialsId(/* TODO unused, delete */StaplerRequest req, @Nonnull Item context, String remote, String value) { |
| 3236 | + public FormValidation checkCredentialsId(/* TODO unused, delete */StaplerRequest req, @NonNull Item context, String remote, String value) { |
3237 | 3237 |
|
3238 | 3238 | // Ignore validation if repository URL is empty
|
3239 | 3239 | String url = Util.fixEmptyAndTrim(remote);
|
|
0 commit comments