Skip to content
Permalink
Browse files
JENKINS-40577 - Removed guava import
  • Loading branch information
Evildethow committed Jun 8, 2017
1 parent af1ca11 commit 1a5e9fbd1799c7f17f0479c6d7e82674dc3d788a
Showing with 8 additions and 2 deletions.
  1. +8 −2 src/main/java/org/jenkins/ci/plugins/jobimport/CredentialsUtils.java
@@ -11,8 +11,6 @@
import java.util.Collections;
import java.util.List;

import static com.google.inject.internal.guava.base.$Preconditions.checkNotNull;

/**
* Created by evildethow on 28/06/2016.
*/
@@ -55,5 +53,13 @@ static final class NullSafeCredentials {
this.username = "";
this.password = "";
}

private <T> T checkNotNull(T reference) {
if(reference == null) {
throw new NullPointerException();
} else {
return reference;
}
}
}
}

0 comments on commit 1a5e9fb

Please sign in to comment.