Changed license to CC0
[svjatoslav_commons.git] / src / main / java / eu / svjatoslav / commons / network / navigation / NavigationItem.java
index 0359440..168b809 100755 (executable)
@@ -1,15 +1,10 @@
 /*
- * Svjatoslav Commons - shared library of common functionality.
- * Copyright ©2012-2017, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 3 of the GNU Lesser General Public License
- * or later as published by the Free Software Foundation.
+ * Svjatoslav Commons - shared library of common functionality. Author: Svjatoslav Agejenko.
+ * This project is released under Creative Commons Zero (CC0) license.
  */
-
 package eu.svjatoslav.commons.network.navigation;
 
-import eu.svjatoslav.commons.string.WildCardMatcher;
+import eu.svjatoslav.commons.string.GlobMatcher;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -67,7 +62,7 @@ public class NavigationItem {
     }
 
     public boolean matchesUrl(final String url) {
-        return WildCardMatcher.match(url, pattern);
+        return GlobMatcher.match(url, pattern);
     }
 
     public NavigationItem getDefaultNavigationItem() {