Added license and copyright notice.
[instantlauncher.git] / src / main / java / eu / svjatoslav / instantlauncher / configuration / FileAssociation.java
index e21a495..7bac98a 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Instantlauncher. Copyright ©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 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+ */
+
 package eu.svjatoslav.instantlauncher.configuration;
 
 import java.io.File;
@@ -5,8 +13,8 @@ import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
 public class FileAssociation implements Comparable<FileAssociation> {
-    public String fileRegex;
     public String command;
+    public String fileRegex;
 
     public FileAssociation() {
     }
@@ -29,7 +37,4 @@ public class FileAssociation implements Comparable<FileAssociation> {
         return matcher.matches();
     }
 
-    public String[] getCommands() {
-        return command.split("\\s+");
-    }
 }