package com.csmancala.run;

import javax.swing.SwingUtilities;

import com.csmancala.file.FileManager;
import com.csmancala.file.ResourceLoader;
import com.csmancala.file.Errors.UnsupportedOperatingSystemException;

public class Start {
	
	public static Mancala gameInstance;
	
	public static void main(String[] args) {
		
		SwingUtilities.invokeLater(new Runnable() {
			
			@Override
			public void run() {
				try {
					FileManager.initalizeStoragePath();
				} catch (UnsupportedOperatingSystemException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				ResourceLoader.loadResources();
				gameInstance = new Mancala();
				gameInstance.start();
			}
		});
	}
	
	public static Mancala getMancala() {
		return gameInstance;
	}
}

@@ -569,24 +569,37 @@
 ackTrace();%0A
+%09%09%09%09%09return;%0A
 %09%09%09%09%7D%0A%09%09%09%09Re

add return in error case