From: Nomi H. <no...@us...> - 2006-01-30 23:04:10
|
Update of /cvsroot/gmod/apollo/src/java/apollo/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1862/apollo/util Modified Files: IOUtil.java Log Message: null pointer check Index: IOUtil.java =================================================================== RCS file: /cvsroot/gmod/apollo/src/java/apollo/util/IOUtil.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** IOUtil.java 16 Nov 2005 00:06:50 -0000 1.23 --- IOUtil.java 30 Jan 2006 23:04:02 -0000 1.24 *************** *** 102,107 **** public static String findFile(String name, boolean canCreate) { ! boolean DEBUG = apollo.config.Config.getDebug(); // To turn on/off debugging printlns name = name.trim(); // take out leading & trailing whitespace --- 102,109 ---- public static String findFile(String name, boolean canCreate) { ! if (name == null) ! return null; + boolean DEBUG = apollo.config.Config.getDebug(); // To turn on/off debugging printlns name = name.trim(); // take out leading & trailing whitespace |