Fix compilation error introduced by 2854c2c473

This commit is contained in:
Norman Maurer 2019-10-25 17:47:27 +02:00
parent 2854c2c473
commit 5949e193ce
2 changed files with 1 additions and 7 deletions

View File

@ -35,7 +35,6 @@ class Hidden {
* and SHOULD NOT be considered a public API. * and SHOULD NOT be considered a public API.
*/ */
@UnstableApi @UnstableApi
@SuppressJava6Requirement(reason = "BlockHound is Java 8+, but this class is only loaded by it's SPI")
public static final class NettyBlockHoundIntegration implements BlockHoundIntegration { public static final class NettyBlockHoundIntegration implements BlockHoundIntegration {
@Override @Override
@ -78,10 +77,5 @@ class Hidden {
} }
}); });
} }
@Override
public int compareTo(BlockHoundIntegration o) {
return 0;
}
} }
} }

View File

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-parent</artifactId> <artifactId>netty-parent</artifactId>
<version>4.1.43.Final-SNAPSHOT</version> <version>5.0.0.Final-SNAPSHOT</version>
</parent> </parent>
<artifactId>netty-transport-blockhound-tests</artifactId> <artifactId>netty-transport-blockhound-tests</artifactId>