Skip to content

Commit

Permalink
fix(CORE-893): Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
thielems committed Oct 16, 2024
1 parent 6f7c638 commit a617da9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public class TrustStoreCreator {
private TrustStoreCreator() {
}

public static void create(File trustStoreFile, String trustStorePassword, String trustStoreType, List<String> trustedLists) {
public static void create(File trustStoreFile, String trustStorePassword, String trustStoreType,
List<String> trustedLists) {
// Create a list in which the certificates are put
TrustedListsCertificateSource tslCertificateSource = new TrustedListsCertificateSource();
// Create a job
Expand All @@ -85,7 +86,8 @@ private static void deleteCacheDir(File fileToDelete) {
fileToDelete.delete();
}

private static TLValidationJob createJob(TrustedListsCertificateSource tslCertificateSource, List<String> trustedLists) {
private static TLValidationJob createJob(TrustedListsCertificateSource tslCertificateSource,
List<String> trustedLists) {
TLValidationJob job = new TLValidationJob();
FileCacheDataLoader onlineLoader = onlineLoader();
job.setOnlineDataLoader(onlineLoader);
Expand Down

0 comments on commit a617da9

Please sign in to comment.