fixed compile errors
This commit is contained in:
parent
6966c520c5
commit
4750a96032
1 changed files with 2 additions and 2 deletions
|
@ -154,11 +154,11 @@ public class CertificateDAOImpl implements CertificateDAO {
|
|||
throw new RuntimeException("Alias name already exists: " + alias);
|
||||
}
|
||||
|
||||
Collections.<String> list(store.engineAliases())
|
||||
Collections.list(store.engineAliases())
|
||||
.stream()
|
||||
.forEach(key -> {
|
||||
try {
|
||||
final Certificate cert = store.engineGetCertificate(key);
|
||||
final Certificate cert = store.engineGetCertificate(String.valueOf(key));
|
||||
if (cert.equals(certificate)) {
|
||||
throw new RuntimeException("Certificate already exists: " + key);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue