Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Sep 13, 2024
1 parent 324dfd3 commit bd12a68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class CommonsCompressActionFactory implements CompressActionFactory {
}

@Override
public Action createCompressAction(final Path source, final Path destination, final Map<String, ?> ignored) {
public Action createCompressAction(final Path source, final Path destination, final Map<String, String> ignored) {
return new CommonsCompressAction(provider, name, source, destination);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public abstract class AbstractCompressActionTest {
/**
* Verifies that compression succeeds using {@code Path} parameters.
*/
protected static void verifyCompressionUsingPathParams(String algorithm, Map<String, ?> compressionOptions)
protected static void verifyCompressionUsingPathParams(String algorithm, Map<String, String> compressionOptions)
throws Exception {
Path tempDirectory = Files.createTempDirectory(ROOT, "test-compress");
Path source = tempDirectory.resolve("source");
Expand All @@ -82,7 +82,7 @@ protected static void verifyCompressionUsingPathParams(String algorithm, Map<Str
* {@link java.nio.file.Paths#get(String, String...)} variant.
* </p>
*/
protected static void verifyCompressionUsingStringParams(String algorithm, Map<String, ?> compressionOptions)
protected static void verifyCompressionUsingStringParams(String algorithm, Map<String, String> compressionOptions)
throws Exception {
Path tempDirectory = Files.createTempDirectory(ROOT, "test-compress");
Path source = tempDirectory.resolve("source");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public void testPolicy() throws Exception {
.setConfiguration(configuration)
.build();
final RolloverStrategy strategy = DefaultRolloverStrategy.newBuilder()
.setCompressionLevel(0)
.setStopCustomActionsOnError(true)
.setConfig(configuration)
.build();
Expand Down

0 comments on commit bd12a68

Please sign in to comment.