Skip to content

Commit

Permalink
Remove redundant warning suppression annotation in KiwiResourcesTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sleberknight committed Sep 1, 2024
1 parent 0c5d180 commit 65629d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/test/java/org/kiwiproject/jaxrs/KiwiResourcesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ private void assertEntity(Response response) throws IOException {
assertThat(mapEntity).isEqualTo(FromResponseTestResource.ENTITY);
}

@SuppressWarnings("resource")
@Test
void shouldThrowIllegalStateException_WhenEntityAlreadyConsumed() {
var originalResponse = RESOURCES.client().target("/from-response/with-entity").request().get();
Expand Down

0 comments on commit 65629d4

Please sign in to comment.