Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JENKINS-40577 - Removed guava import
  • Loading branch information
Evildethow committed Jun 8, 2017
1 parent af1ca11 commit 1a5e9fb
Showing 1 changed file with 8 additions and 2 deletions.
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.