You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ib...@apache.org on 2022/05/13 11:34:34 UTC

[ignite-3] branch main updated: IGNITE-16898 Modernizer plugin errors fixed in local build

This is an automated email from the ASF dual-hosted git repository.

ibessonov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 7fc673816 IGNITE-16898 Modernizer plugin errors fixed in local build
7fc673816 is described below

commit 7fc6738168449ec6765f573b4619866ad56f5fb8
Author: ibessonov <be...@gmail.com>
AuthorDate: Fri May 13 14:33:08 2022 +0300

    IGNITE-16898 Modernizer plugin errors fixed in local build
    
    Signed-off-by: ibessonov <be...@gmail.com>
---
 .../persistence/checkpoint/CheckpointMarkersStorageTest.java           | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/page-memory/src/test/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/CheckpointMarkersStorageTest.java b/modules/page-memory/src/test/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/CheckpointMarkersStorageTest.java
index 1d4d8788a..ee844e492 100644
--- a/modules/page-memory/src/test/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/CheckpointMarkersStorageTest.java
+++ b/modules/page-memory/src/test/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/CheckpointMarkersStorageTest.java
@@ -28,6 +28,7 @@ import static org.hamcrest.Matchers.startsWith;
 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();