Skip to content

Commit

Permalink
Merge pull request #17 from Evildethow/JENKINS-40577
Browse files Browse the repository at this point in the history
JENKINS-40577 - Removed guava import

thanks @Evildethow
  • Loading branch information
escoem committed Jun 9, 2017
2 parents af1ca11 + 1a5e9fb commit 6b3cb8b
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 6b3cb8b

Please sign in to comment.