From: Svjatoslav Agejenko Date: Sat, 24 Oct 2020 15:01:31 +0000 (+0300) Subject: Upgraded svjatoslav_commons library. Fixed SCM URL. X-Git-Tag: meviz-1.2~7 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=cbb42af8fb74f0227361d3385ba0521799f4551e;p=meviz.git Upgraded svjatoslav_commons library. Fixed SCM URL. --- 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;