From cbb42af8fb74f0227361d3385ba0521799f4551e Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sat, 24 Oct 2020 18:01:31 +0300 Subject: [PATCH] Upgraded svjatoslav_commons library. Fixed SCM URL. --- pom.xml | 8 ++++---- src/main/java/eu/svjatoslav/meviz/bomremove/Main.java | 4 ++-- src/main/java/eu/svjatoslav/meviz/encoder/Encoder.java | 4 ++-- src/main/java/eu/svjatoslav/meviz/renamer/Main.java | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 21ec021..52f0e4b 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ eu.svjatoslav svjatoslavcommons - 1.7 + 1.8 log4j @@ -136,9 +136,9 @@ - scm:git:ssh://gitprivate@svjatoslav.eu/home/gitprivate/repositories/meviz.git - scm:git:ssh://gitprivate@svjatoslav.eu/home/gitprivate/repositories/meviz.git - + scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git + scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git + HEAD diff --git a/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java b/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java index 3177d06..666ebbb 100755 --- a/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java +++ b/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java @@ -10,7 +10,7 @@ package eu.svjatoslav.meviz.bomremove; import eu.svjatoslav.commons.file.IOHelper; -import eu.svjatoslav.commons.string.WildCardMatcher; +import eu.svjatoslav.commons.string.GlobMatcher; import eu.svjatoslav.meviz.Module; import java.io.File; @@ -51,7 +51,7 @@ public class Main implements Module { final String fileName = file.getName().toLowerCase(); for (final String inputPattern : options.inputPatterns) - if (WildCardMatcher.match(fileName, inputPattern.toLowerCase())) + if (GlobMatcher.match(fileName, inputPattern.toLowerCase())) return true; return false; diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/Encoder.java b/src/main/java/eu/svjatoslav/meviz/encoder/Encoder.java index 9820f2b..bf5c677 100755 --- a/src/main/java/eu/svjatoslav/meviz/encoder/Encoder.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/Encoder.java @@ -10,7 +10,7 @@ package eu.svjatoslav.meviz.encoder; import eu.svjatoslav.commons.file.FilePathParser; -import eu.svjatoslav.commons.string.WildCardMatcher; +import eu.svjatoslav.commons.string.GlobMatcher; import eu.svjatoslav.meviz.Module; import eu.svjatoslav.meviz.encoder.converters.AbstractConverter; @@ -107,7 +107,7 @@ public class Encoder implements Module { final String fileName = file.getName().toLowerCase(); for (final String inputPattern : encodingOptions.getInputPatterns()) - if (WildCardMatcher.match(fileName, inputPattern.toLowerCase())) + if (GlobMatcher.match(fileName, inputPattern.toLowerCase())) return true; return false; diff --git a/src/main/java/eu/svjatoslav/meviz/renamer/Main.java b/src/main/java/eu/svjatoslav/meviz/renamer/Main.java index 39ae0c0..2359a69 100755 --- a/src/main/java/eu/svjatoslav/meviz/renamer/Main.java +++ b/src/main/java/eu/svjatoslav/meviz/renamer/Main.java @@ -9,7 +9,7 @@ package eu.svjatoslav.meviz.renamer; -import eu.svjatoslav.commons.string.WildCardMatcher; +import eu.svjatoslav.commons.string.GlobMatcher; import eu.svjatoslav.meviz.Module; import java.io.File; @@ -44,7 +44,7 @@ public class Main implements Module { final String fileName = file.getName(); for (final String inputPattern : options.inputPatterns) - if (WildCardMatcher.match(fileName, inputPattern)) + if (GlobMatcher.match(fileName, inputPattern)) return true; return false; -- 2.20.1