Skip to content
Permalink
Browse files
IGNITE-16898 Modernizer plugin errors fixed in local build
Signed-off-by: ibessonov <bessonov.ip@gmail.com>
  • Loading branch information
ibessonov committed May 13, 2022
1 parent 7adac2a commit 7fc6738168449ec6765f573b4619866ad56f5fb8
Showing 1 changed file with 2 additions and 1 deletion.
@@ -28,6 +28,7 @@
import static org.junit.jupiter.api.Assertions.assertThrows;

import java.io.FileWriter;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.util.Set;
import java.util.UUID;
@@ -51,7 +52,7 @@ public class CheckpointMarkersStorageTest {
void testFailCreateCheckpointDir() throws Exception {
Path testFile = createFile(workDir.resolve("testFile"));

try (FileWriter fileWriter = new FileWriter(testFile.toFile())) {
try (FileWriter fileWriter = new FileWriter(testFile.toFile(), StandardCharsets.UTF_8)) {
fileWriter.write("testString");

fileWriter.flush();

0 comments on commit 7fc6738

Please sign in to comment.