Skip to content

Commit c96e697

Browse files
committed
removed printstacktrace and downgraded library version (jackson)
1 parent 8fd9669 commit c96e697

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
<dependency>
4141
<groupId>com.fasterxml.jackson.core</groupId>
4242
<artifactId>jackson-databind</artifactId>
43-
<version>2.9.9</version>
43+
<version>2.9.8</version>
4444
<type>jar</type>
4545
</dependency>
4646
<dependency>
4747
<groupId>com.fasterxml.jackson.dataformat</groupId>
4848
<artifactId>jackson-dataformat-yaml</artifactId>
49-
<version>2.9.9</version>
49+
<version>2.9.8</version>
5050
</dependency>
5151
<dependency>
5252
<groupId>org.apache.commons</groupId>

src/main/java/de/rub/nds/tlsscanner/trust/TrustAnchorManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public static synchronized TrustAnchorManager getInstance() {
5757
}
5858

5959
private TrustAnchorManager() {
60+
trustPlatformList = new LinkedList<>();
6061
try {
61-
trustPlatformList = new LinkedList<>();
6262
trustPlatformList.add(readPlatform("google_aosp.yaml"));
6363
trustPlatformList.add(readPlatform("microsoft_windows.yaml"));
6464
trustPlatformList.add(readPlatform("mozilla_nss.yaml"));
@@ -67,7 +67,6 @@ private TrustAnchorManager() {
6767
trustPlatformList.add(readPlatform("apple_ios.yaml"));
6868
trustPlatformList.add(readPlatform("apple_macos.yaml"));
6969
} catch (IOException ex) {
70-
ex.printStackTrace();
7170
LOGGER.error("Could not load trusted platforms", ex);
7271
}
7372
trustAnchors = new HashMap<>();

0 commit comments

Comments
 (0)