package com.github.fluxw42.thistothat;

import com.github.fluxw42.thistothat.conf.ConfigurationImpl;

import java.io.File;

/**
 * Date: 2/2/16 - 11:51 PM
 *
 * @author Jeroen Meulemeester
 */
public class Main {

    public static void main(final String[] args) throws Exception {
        final File configFile = args == null || args.length == 0 || args[0] == null || args[0].trim().isEmpty() ?
                new File("this-to-that.properties") : new File(args[0].trim());

        final ConfigurationImpl config = new ConfigurationImpl(configFile);
        final ThisToThat thisToThat = new ThisToThat(config);
        thisToThat.start();
    }

}

@@ -207,16 +207,156 @@
 Main %7B%0A%0A
+    /**%0A     * The default config file%0A     */%0A    private static final File DEFAULT_CONFIG = new File(%22conf%22, %22this-to-that.properties%22);%0A%0A
     publ
@@ -549,43 +549,22 @@
     
-new File(%22this-to-that.properties%22)
+DEFAULT_CONFIG
  : n

Use the new location of the default config file