Skip to content

Commit

Permalink
Fix Sonarqube
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Apr 26, 2024
1 parent dd58b45 commit aaa3011
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import java.nio.file.Path;

public class FileUtil {

private FileUtil() {}
public static void deleteDirectoryRecursion(Path path) throws IOException {
if (Files.isDirectory(path, LinkOption.NOFOLLOW_LINKS)) {
try (DirectoryStream<Path> entries = Files.newDirectoryStream(path)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertFalse;

class FileUtilTest {
public class FileUtilTest {
final Path FILE_PATH = Paths.get("/tmp/opt/");
final String FILE_NAME = "testFile.txt";

Expand Down

0 comments on commit aaa3011

Please sign in to comment.