diff --git a/src/main/java/core/basesyntax/FileWork.java b/src/main/java/core/basesyntax/FileWork.java index 31492df8..695ca8e2 100644 --- a/src/main/java/core/basesyntax/FileWork.java +++ b/src/main/java/core/basesyntax/FileWork.java @@ -3,9 +3,7 @@ import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; -import java.nio.file.Paths; import java.util.Arrays; -import java.util.List; public class FileWork { public String[] readFromFile(String fileName) { diff --git a/src/main/java/core/basesyntax/Main.java b/src/main/java/core/basesyntax/Main.java index 73e65f2c..c78811f9 100644 --- a/src/main/java/core/basesyntax/Main.java +++ b/src/main/java/core/basesyntax/Main.java @@ -3,7 +3,7 @@ import java.util.Arrays; public class Main { - public static void main(String[] args){ + public static void main(String[] args) { FileWork fileWork = new FileWork(); String[] filtredArry = fileWork.readFromFile("test1"); System.out.println(Arrays.toString(filtredArry));