From: David ‘Bombe’ Roden Date: Wed, 14 Oct 2015 19:23:44 +0000 (+0200) Subject: Prevent “empty catch block” warning X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=237eaaadcba5c0e3d51b5ba6fccb83acdf4e4fce;p=jFCPlib.git Prevent “empty catch block” warning --- diff --git a/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java b/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java index d4001ba..6e4b807 100644 --- a/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java +++ b/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java @@ -580,6 +580,7 @@ public class DefaultFcpClientTest { keyPair.get(); Assert.fail(); } catch (ExecutionException e) { + /* ignore. */ } keyPair = fcpClient.generateKeypair().execute(); connectAndAssert(() -> matchesFcpMessage("GenerateSSK"));