From 077bcb6d9385249bf06c59ecd8bf46f83685cbd0 Mon Sep 17 00:00:00 2001 From: Jason Dahlke Date: Tue, 24 Dec 2024 03:32:19 +0000 Subject: [PATCH] suppress accepted warnings around new code --- src/main/java/emissary/pickup/WorkSpace.java | 1 + src/main/java/emissary/server/EmissaryServer.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/emissary/pickup/WorkSpace.java b/src/main/java/emissary/pickup/WorkSpace.java index 4d107ec71f..fed98d4d0a 100755 --- a/src/main/java/emissary/pickup/WorkSpace.java +++ b/src/main/java/emissary/pickup/WorkSpace.java @@ -292,6 +292,7 @@ public void stop() { /** * Shut down services that were started here */ + @SuppressWarnings("CatchingUnchecked") public void shutDown() { stop(); if (this.jettyStartedHere) { diff --git a/src/main/java/emissary/server/EmissaryServer.java b/src/main/java/emissary/server/EmissaryServer.java index 978ea5f0f1..ff966564e5 100644 --- a/src/main/java/emissary/server/EmissaryServer.java +++ b/src/main/java/emissary/server/EmissaryServer.java @@ -92,6 +92,7 @@ public class EmissaryServer { private final EmissaryNode emissaryNode; + @SuppressWarnings("NonFinalStaticField") private static EmissaryServer emissaryServer; private EmissaryServer(ServerCommand cmd) {