# HG changeset patch # User your_name # Date 1272048996 25200 # Node ID 3b65ff84512556f5a2bbf6c891ee665b37fe7827 # Parent 8605ef4fda978aa76e560b659bf6e89e94cefc7e Minor bug was fixed diff -r 8605ef4fda97 -r 3b65ff845125 org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java --- a/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java Wed Apr 21 11:59:24 2010 -0700 +++ b/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/handlers/DebuggerResourceProvider.java Fri Apr 23 11:56:36 2010 -0700 @@ -62,7 +62,7 @@ } } else if ("testConnection".equals(resource.segment(1))) { String[] sessionId = parameters.get(DEBUG_SESSION_ID_PARAMETER); - if (sessionId != null & sessionId.length == 1) { + if (sessionId != null && sessionId.length > 1) { if (!WebAppInterface.isConnected(project.getName(), sessionId[0])) { return null; }