diff --git a/geowebcache/web/src/test/java/org/geowebcache/jetty/RestIntegrationTest.java b/geowebcache/web/src/test/java/org/geowebcache/jetty/RestIntegrationTest.java index 2adc2e7bc..8c458010d 100644 --- a/geowebcache/web/src/test/java/org/geowebcache/jetty/RestIntegrationTest.java +++ b/geowebcache/web/src/test/java/org/geowebcache/jetty/RestIntegrationTest.java @@ -670,7 +670,7 @@ public void testLayerNoAuth() throws Exception { * Check that the given request gives a 401 Forbidden when not authenticated, and otherwise has * a response matching the given matcher */ - @SuppressWarnings("PMD.CloseResource") + @SuppressWarnings({"PMD.CloseResource", "PMD.UnusedLocalVariable"}) protected void testSecured(HttpUriRequest request, Matcher authenticatedStatus) throws Exception { { @@ -1249,7 +1249,7 @@ public void testLayerKillAll() throws Exception { } @Test - @SuppressWarnings("PMD.EmptyControlStatement") + @SuppressWarnings({"PMD.EmptyControlStatement", "PMD.UnusedLocalVariable"}) public void testNewFileBlobstoreDontDeleteExistingContent() throws Exception { // The directory already has stuff in it File bsDir = temp.newFolder();