> if (credsFromParameters.getOptionalPrivateKey().isPresent()) > - > builder.privateKey(credsFromParameters.getOptionalPrivateKey().get()); > + if (credsFromParameters.getOptionalPassword().get().isEmpty())
This could throw a NPE if the optional password is not present. You should be able to remove this if statement as it is already covered by the previous one? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/486/files#r16326641
