package com.mycompany.myproject;

public class MyClass {
	/**
	 * Logger for this class
	 */
	private static final Logger logger = Logger.getLogger(CopyPasteMistake.class);

	public String modifyExample(String theString, int theInt) {
		logger.logp(Level.FINE, "CopyPasteMistake", "copyPasteMistake(Boolean)", "start"); //start comment

		try {
			logger.logp(Level.FINE, "CopyPasteMistake", "copyPasteMistake(Boolean)", "trying something stupid...");
			doSomethingVeryDangerous();
		} catch (OutOfCheeseError myexception) {
			logger.logp(Level.SEVERE, "CopyPasteMistake", "copyPasteMistake(Boolean)", "", myexception);

			redoFromStart();
		}

		logger.logp(Level.FINE, "CopyPasteMistake", "copyPasteMistake(Boolean)", "end"); //end comment
		return toString();
	}
}