diff --git a/core/src/main/java/org/stellar/anchor/util/NetUtil.java b/core/src/main/java/org/stellar/anchor/util/NetUtil.java index e8c3545146..fa03e2771e 100644 --- a/core/src/main/java/org/stellar/anchor/util/NetUtil.java +++ b/core/src/main/java/org/stellar/anchor/util/NetUtil.java @@ -40,6 +40,7 @@ public static String fetch(String url) throws IOException { } return response.body().string(); + } @SuppressWarnings("BooleanMethodIsAlwaysInverted") diff --git a/core/src/main/java/org/stellar/anchor/util/Sep1Helper.java b/core/src/main/java/org/stellar/anchor/util/Sep1Helper.java index 9aca02d869..e42b74349b 100644 --- a/core/src/main/java/org/stellar/anchor/util/Sep1Helper.java +++ b/core/src/main/java/org/stellar/anchor/util/Sep1Helper.java @@ -28,6 +28,7 @@ public static TomlContent parse(String tomlString) throws InvalidConfigException Log.error(e.toString()); // Log the parsing exception throw new InvalidConfigException( obfuscatedMessage); // Preserve the original exception as the cause + } } diff --git a/platform/src/test/kotlin/org/stellar/anchor/Sep1ServiceTest.kt b/platform/src/test/kotlin/org/stellar/anchor/Sep1ServiceTest.kt index 77c15e1689..d574efa141 100644 --- a/platform/src/test/kotlin/org/stellar/anchor/Sep1ServiceTest.kt +++ b/platform/src/test/kotlin/org/stellar/anchor/Sep1ServiceTest.kt @@ -120,7 +120,6 @@ class Sep1ServiceTest { assertTrue( exception.message?.contains("code=500, message=Server Error, url=http://localhost:") == true ) - mockServer.shutdown() } }