Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Aug 23, 2024
1 parent 30dee36 commit 2ac0a56
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/java/org/opensearch/jobscheduler/TrustStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ private X509Certificate[] loadCertificatesFromFile(String file) throws IOExcepti
}
CertificateFactory fact = CertificateFactory.getInstance(certType);



try (InputStream is = Files.newInputStream(PathUtils.get(file))) {
Collection<? extends Certificate> certs = fact.generateCertificates(is);
X509Certificate[] x509Certs = new X509Certificate[certs.size()];
Expand Down

0 comments on commit 2ac0a56

Please sign in to comment.