Code refactoring and cleanup. Configurable directory opening command.
[instantlauncher.git] / src / main / java / eu / svjatoslav / instantlauncher / configuration / FileAssociation.java
index e21a495..4b65118 100644 (file)
@@ -5,8 +5,8 @@ import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
 public class FileAssociation implements Comparable<FileAssociation> {
-    public String fileRegex;
     public String command;
+    private String fileRegex;
 
     public FileAssociation() {
     }
@@ -29,7 +29,4 @@ public class FileAssociation implements Comparable<FileAssociation> {
         return matcher.matches();
     }
 
-    public String[] getCommands() {
-        return command.split("\\s+");
-    }
 }