Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump maven-checkstyle-plugin from 3.0.0 to 3.1.0 #19

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<version.zeebe>0.22.0-alpha1</version.zeebe>

<!-- plugin version -->
<plugin.version.checkstyle>3.0.0</plugin.version.checkstyle>
<plugin.version.checkstyle>3.1.0</plugin.version.checkstyle>
<plugin.version.enforcer>3.0.0-M2</plugin.version.enforcer>
<plugin.version.fmt>2.6.0</plugin.version.fmt>
<plugin.version.license>3.0</plugin.version.license>
Expand Down Expand Up @@ -168,7 +168,6 @@
<sourceDirectories>
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
<sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
<sourceDirectory>${project.basedir}/src/test/jmh</sourceDirectory>
</sourceDirectories>
</configuration>
<executions>
Expand Down Expand Up @@ -208,11 +207,6 @@
</goals>
</execution>
</executions>
<configuration>
<additionalSourceDirectories>
<additionalSourceDirectory>${project.basedir}/src/test/jmh</additionalSourceDirectory>
</additionalSourceDirectories>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/zeebe/containers/ZeebeContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down