Skip to content

Commit

Permalink
[SUREFIRE-2008] Upgrade animal-sniffer-maven-plugin to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Feb 12, 2022
1 parent f243cd2 commit 67abe59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pom.xml
Expand Up @@ -452,11 +452,10 @@
<proc>none</proc>
</configuration>
</plugin>
<!-- NOTE: animal sniffer does not check test classes: https://jira.codehaus.org/browse/MANIMALSNIFFER-40 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.17</version>
<version>1.21</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down Expand Up @@ -632,10 +631,13 @@
<executions>
<execution>
<id>signature-check</id>
<!-- we use offline jacoco instrumentation so check must be done after restoring original classes -->
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<checkTestClasses>true</checkTestClasses>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
Expand Down
Expand Up @@ -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++ )
Expand Down

0 comments on commit 67abe59

Please sign in to comment.