Removing CORBA reference?? and adding improved debug method
This commit is contained in:
parent
ecf30e41cb
commit
72f8143d5e
|
@ -45,8 +45,6 @@ import java.util.Set;
|
||||||
import java.util.StringTokenizer;
|
import java.util.StringTokenizer;
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
|
|
||||||
import org.omg.CORBA._PolicyStub;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
* It allows an application to be started with the command <code>"java -jar start.jar"</code>.
|
* It allows an application to be started with the command <code>"java -jar start.jar"</code>.
|
||||||
|
@ -335,6 +333,14 @@ public class Config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void debug(String format, Object ... args)
|
||||||
|
{
|
||||||
|
if (DEBUG)
|
||||||
|
{
|
||||||
|
System.err.printf(format+"%n",args);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void debug(Throwable t)
|
public static void debug(Throwable t)
|
||||||
{
|
{
|
||||||
if (DEBUG)
|
if (DEBUG)
|
||||||
|
|
Loading…
Reference in New Issue