From 21b7e2bf82abfd494f6c84e5ee3a1d4f9a8ee6e9 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Fri, 11 Feb 2022 18:45:46 +0100 Subject: [PATCH] [SUREFIRE-2008] Upgrade animal-sniffer-maven-plugin to 1.21 --- pom.xml | 6 ++++-- .../surefire/api/stream/AbstractStreamDecoderTest.java | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 579d550154..6e86c8cc19 100644 --- a/pom.xml +++ b/pom.xml @@ -452,11 +452,10 @@ none - org.codehaus.mojo animal-sniffer-maven-plugin - 1.17 + 1.21 maven-surefire-plugin @@ -632,10 +631,13 @@ signature-check + + verify check + true org.codehaus.mojo.signature java18 diff --git a/surefire-api/src/test/java/org/apache/maven/surefire/api/stream/AbstractStreamDecoderTest.java b/surefire-api/src/test/java/org/apache/maven/surefire/api/stream/AbstractStreamDecoderTest.java index 4c54df3731..2dd9c72722 100644 --- a/surefire-api/src/test/java/org/apache/maven/surefire/api/stream/AbstractStreamDecoderTest.java +++ b/surefire-api/src/test/java/org/apache/maven/surefire/api/stream/AbstractStreamDecoderTest.java @@ -318,7 +318,7 @@ public void shouldReadMultipleStringsAndShiftedInput() throws Exception Memento memento = thread.new Memento(); // whatever position will be compacted to 0 - ( (Buffer) ( (Buffer) memento.getByteBuffer().limit( 974 ) ) ).position( 974 ); + ( (Buffer) memento.getByteBuffer() ).limit( 974 ).position( 974 ); StringBuilder expected = new StringBuilder( "789" ); for ( int i = 0; i < 11; i++ )