diff --git a/pom.xml b/pom.xml index 4c641790..66f430a8 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,7 @@ 0.22.0-alpha1 - 3.0.0 + 3.1.0 3.0.0-M2 2.6.0 3.0 @@ -168,7 +168,6 @@ ${project.build.sourceDirectory} ${project.build.testSourceDirectory} - ${project.basedir}/src/test/jmh @@ -208,11 +207,6 @@ - - - ${project.basedir}/src/test/jmh - - diff --git a/src/main/java/io/zeebe/containers/ZeebeContainer.java b/src/main/java/io/zeebe/containers/ZeebeContainer.java index c520626b..7aaae5c8 100644 --- a/src/main/java/io/zeebe/containers/ZeebeContainer.java +++ b/src/main/java/io/zeebe/containers/ZeebeContainer.java @@ -71,8 +71,8 @@ default SELF withConfiguration(final InputStream configuration) { final Path tempFile = Files.createTempFile(getClass().getPackage().getName(), ".tmp"); long bytesRead; long offset = 0; - try (final ReadableByteChannel input = Channels.newChannel(configuration); - final FileChannel output = FileChannel.open(tempFile)) { + try (ReadableByteChannel input = Channels.newChannel(configuration); + FileChannel output = FileChannel.open(tempFile)) { while ((bytesRead = output.transferFrom(input, offset, 4096L)) > 0) { offset += bytesRead; }