> + > +/** > + * Predicate to compare SSH keys by fingerprint. > + */ > +public class SameFingerprint implements Predicate<SshKey> { > + > + public final String fingerprint; > + > + public SameFingerprint(PublicKey key) { > + this.fingerprint = computeFingerprint(checkNotNull(key, "key cannot be > null")); > + } > + > + @Override > + public boolean apply(SshKey key) { > + checkNotNull(key, "key cannot be null"); > + checkNotNull(key.getPublicKey(), "key cannot be null");
[minor] "public key cannot be null"? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/73/files#r17920215