net.sf.jour
Class Debug

java.lang.Object
  extended bynet.sf.jour.Debug

public final class Debug
extends java.lang.Object

Conditional compile. The conditional compilation practice is used to optionally remove chunks of code from the compiled version of a class. It uses the fact that compilers will ignore any unreachable branches of code. To implement conditional compilation, place code which is to be conditionally compiled in an if block which evaluates the boolean Debug.ON With the advent of assert in JDK 1.4, the utility of conditional compilation is probably reduced. But we need to support Java 1.3 compilation for now. Created on 04.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.1 $ ($Author: vlads $) $Date: 2004/12/05 02:17:08 $
Author:
vlads

Field Summary
static boolean ON
           
 
Constructor Summary
Debug()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ON

public static final boolean ON
See Also:
Constant Field Values
Constructor Detail

Debug

public Debug()


Copyright © 2004 sourceforge. All Rights Reserved.