package primes.bramble;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

import bramble.masternode.MasterNode;
import bramble.networking.JobResponseData;

public class MasterNodeRunner extends MasterNode {
	
	public static void main(String[] args){	
		
		DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
		Date date = new Date();
		System.out.println("Started at " + dateFormat.format(date));
		
		initialize();
	}
	
	private static void initialize(){
		new Thread(new JobSetupRunner()).start();
		(new MasterNodeRunner()).listenForever();
	}
	
	@Override
	protected void parse(JobResponseData jobResponseData) {
		System.out.println("Job [" + jobResponseData.getJobIdentifier() + "] replied: "
				+ jobResponseData.getMessage());
		if(jobResponseData.getJobIdentifier()>100){
			DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
			Date date = new Date();
			System.out.println("Ended at " + dateFormat.format(date));
			System.exit(0);
			System.exit(0);
		}
		
	}

}

@@ -989,35 +989,16 @@
 xit(0);%0A
-%09%09%09System.exit(0);%0A
 %09%09%7D%0A%09%09%0A%09

Remove duplicate System.exit() call