Upgraded svjatoslav_commons library. Fixed SCM URL.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 24 Oct 2020 15:01:31 +0000 (18:01 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 24 Oct 2020 15:01:31 +0000 (18:01 +0300)
pom.xml
src/main/java/eu/svjatoslav/meviz/bomremove/Main.java
src/main/java/eu/svjatoslav/meviz/encoder/Encoder.java
src/main/java/eu/svjatoslav/meviz/renamer/Main.java

diff --git a/pom.xml b/pom.xml
index 21ec021..52f0e4b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
         <dependency>
             <groupId>eu.svjatoslav</groupId>
             <artifactId>svjatoslavcommons</artifactId>
-            <version>1.7</version>
+            <version>1.8</version>
         </dependency>
         <dependency>
             <groupId>log4j</groupId>
     </distributionManagement>
 
     <scm>
-        <connection>scm:git:ssh://gitprivate@svjatoslav.eu/home/gitprivate/repositories/meviz.git</connection>
-        <developerConnection>scm:git:ssh://gitprivate@svjatoslav.eu/home/gitprivate/repositories/meviz.git
-        </developerConnection>
+        <connection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git</connection>
+        <developerConnection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git</developerConnection>
+        <tag>HEAD</tag>
     </scm>
 
     <repositories>
index 3177d06..666ebbb 100755 (executable)
@@ -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;
index 9820f2b..bf5c677 100755 (executable)
@@ -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;
index 39ae0c0..2359a69 100755 (executable)
@@ -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;