From: Hendrik <nh...@us...> - 2007-06-30 22:13:17
|
Update of /cvsroot/arianne/marauroa/src/marauroa/server/game In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv1949/src/marauroa/server/game Modified Files: Tag: MARAUROA_VERSION_01_MAINTENANCE JDBCPlayerDatabase.java Log Message: fixed NullPointerException on null parameter Index: JDBCPlayerDatabase.java =================================================================== RCS file: /cvsroot/arianne/marauroa/src/marauroa/server/game/Attic/JDBCPlayerDatabase.java,v retrieving revision 1.32.2.2 retrieving revision 1.32.2.3 diff -C2 -d -r1.32.2.2 -r1.32.2.3 *** JDBCPlayerDatabase.java 28 May 2007 01:42:08 -0000 1.32.2.2 --- JDBCPlayerDatabase.java 30 Jun 2007 22:13:18 -0000 1.32.2.3 *************** *** 1435,1438 **** --- 1435,1441 ---- String firstParam = (params.length > 0 ? params[0] : ""); + if (firstParam == null) { + firstParam = ""; + } StringBuffer param = new StringBuffer(); if (params.length > 1) { |