X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Fbomremove%2FMain.java;h=666ebbbebf3f50572f66ef34b7a5988cd418d692;hb=a59874278f0eafd977d18e151b3979ac9da7359c;hp=1ba6934db3a222a3b0f90dcad1e2fd54c722f9d5;hpb=934d5b7cc3d7d4bbafda7fbb4fab47d54f1a8a91;p=meviz.git diff --git a/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java b/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java index 1ba6934..666ebbb 100755 --- a/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java +++ b/src/main/java/eu/svjatoslav/meviz/bomremove/Main.java @@ -1,16 +1,16 @@ /* * Meviz - Various tools collection to work with multimedia. - * Copyright (C) 2012 -- 2017, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Copyright (C) 2012 -- 2019, 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. - */ + * modify it under the terms of version 3 of the GNU Lesser General Public License + * or later as published by the Free Software Foundation. +*/ 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;