Skip to content

Commit

Permalink
PMD 7.2, web module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aaime committed Jun 15, 2024
1 parent 8d37f42 commit f8c0049
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Integer> authenticatedStatus)
throws Exception {
{
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit f8c0049

Please sign in to comment.