Minor bug was fixed
authoryour_name <your_email_address>
Fri, 23 Apr 2010 11:56:36 -0700
changeset 318 3b65ff845125
parent 317 8605ef4fda97
child 319 40387cc658b4
Minor bug was fixed
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;
                     }