> if (credsFromParameters.getOptionalPrivateKey().isPresent()) > - > builder.privateKey(credsFromParameters.getOptionalPrivateKey().get()); > + if (credsFromParameters.getOptionalPassword().get().isEmpty())
Yes, made a small mistake, the second builder.noPassword() should be builder.noPrivateKey obviously. I don't see the NPE though? The second if statement checks if the string content is empty, something different than the --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/486/files#r16326712
