From: Holger Z. <hz...@us...> - 2005-06-26 09:17:45
|
Update of /cvsroot/jake2/jake2/src/jake2/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19526/src/jake2/client Modified Files: CL_input.java Log Message: parseInt/Long may throw an exception Index: CL_input.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/client/CL_input.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CL_input.java 7 Jun 2005 12:57:21 -0000 1.6 --- CL_input.java 26 Jun 2005 09:17:33 -0000 1.7 *************** *** 142,146 **** int k; String c; ! long uptime; c = Cmd.Argv(1); --- 142,146 ---- int k; String c; ! int uptime; c = Cmd.Argv(1); *************** *** 169,173 **** // save timestamp c = Cmd.Argv(2); ! uptime = Long.parseLong(c); if (uptime != 0) b.msec += uptime - b.downtime; --- 169,173 ---- // save timestamp c = Cmd.Argv(2); ! uptime = Lib.atoi(c); if (uptime != 0) b.msec += uptime - b.downtime; |