src/Recipe.java
/**
     * Causes the program to exit if a modification has been made to an existing recipe.
     */
Causes the program to exit if a modification has been made to an existing recipe.
Causes the program to exit if a modification has been made to an existing recipe .
public static String checkModification() {
        if (modified) {
            System.out.println("\nModification made, program will now exit.");
            sleep(2);
            System.exit(0);
        } else {
            return "";
        }
        return null;
    }
public static String checkModification ( ) { if ( modified ) { System . out . println ( "\nModification made, program will now exit." ) ; sleep ( 2 ) ; System . exit ( 0 ) ; } else { return "" ; } return null ; }
Causes the program to exit if a modification has been made to an existing recipe.
Causes the program to exit if a modification has been made to an existing recipe .
//continues trail.
