Removing CORBA reference?? and adding improved debug method

This commit is contained in:
Joakim Erdfelt 2013-08-17 11:59:56 -07:00 committed by Greg Wilkins
parent ecf30e41cb
commit 72f8143d5e
1 changed files with 8 additions and 2 deletions

View File

@ -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)