minor refactoring

This commit is contained in:
Shu Lei
2007-12-01 00:40:51 +00:00
parent ca721124e1
commit 9fd34436fe

View File

@@ -73,7 +73,7 @@ public class LuaJVMTest extends TestCase {
private int getDebugPortNumber() throws IOException { private int getDebugPortNumber() throws IOException {
String portStr = String portStr =
Platform.getInstance().getProperty(DebugLuaState.PROPERTY_LUAJ_DEBUG_PORT); getProperty(DebugLuaState.PROPERTY_LUAJ_DEBUG_PORT);
int port = -1; int port = -1;
if (portStr == null) { if (portStr == null) {
throw new IOException("Port number must be specified in the System property"); throw new IOException("Port number must be specified in the System property");