diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-26 21:01:16 +0200 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-26 21:01:16 +0200 |
commit | 8e72cabd763c8f6cfba63b9aaf9502ca15a3092f (patch) | |
tree | d361031a42d026d26ea42fb2d1dec62b719dccc9 /src/main/java/musichub | |
parent | 5dc7dea3ef53a385442c6bfd59054faa4b1d73d9 (diff) |
Moved PathValidation to the util package
Diffstat (limited to 'src/main/java/musichub')
-rw-r--r-- | src/main/java/musichub/main/Main.java | 2 | ||||
-rw-r--r-- | src/main/java/musichub/util/PathValidation.java (renamed from src/main/java/musichub/business/PathValidation.java) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/musichub/main/Main.java b/src/main/java/musichub/main/Main.java index e2e4731..e06d056 100644 --- a/src/main/java/musichub/main/Main.java +++ b/src/main/java/musichub/main/Main.java @@ -9,7 +9,7 @@ import java.util.Iterator; import java.util.List; import java.util.Scanner; -import static musichub.business.PathValidation.isPathValid; +import static musichub.util.PathValidation.isPathValid; public class Main { public static void main(String[] args) throws UnsupportedAudioFileException, IOException, LineUnavailableException { diff --git a/src/main/java/musichub/business/PathValidation.java b/src/main/java/musichub/util/PathValidation.java index b0281ba..df11388 100644 --- a/src/main/java/musichub/business/PathValidation.java +++ b/src/main/java/musichub/util/PathValidation.java @@ -1,4 +1,4 @@ -package musichub.business; +package musichub.util; import java.nio.file.Files; import java.nio.file.Path; |