Changed license to CC0.
[meviz.git] / src / main / java / eu / svjatoslav / meviz / renamer / Main.java
index 073898e..a13be91 100755 (executable)
@@ -1,15 +1,12 @@
 /*
- * Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- * 
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
+ * Meviz - Various tools collection to work with multimedia. Author: Svjatoslav Agejenko.
+ * This project is released under Creative Commons Zero (CC0) license.
  */
 
+
 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 +41,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;