/** * NoDebug.java * * @author Jeff Ondich * @version 4/28/05 * * This class is one copy of the DebugState class, with the * debugging constant set to false. If you instruct your makefile * to copy either Debug.java or NoDebug.java onto DebugState.java * depending on the project settings selected, the program as a * whole can use DebugState.debugging to test for whether to * print debugging messages, etc. * * Not an ideal solution, since it might be easy to lose track of which * state you most recently left the compiled code in, but it * does offer one reasonably convenient substitute for the "-DDEBUG" * behavior available in C/C++. */ public class DebugState { public static final boolean debugging = false; }