[Carbon-commits] [Carbon] svn commit r111397 - trunk/carbon/components/proxy-admin/org.wso2.carbon.proxyadmin.ui/src/main/resources/web/proxyservices

hiranya at wso2.com hiranya at wso2.com
Fri Aug 5 08:26:47 EDT 2011


Author: hiranya
Date: Fri Aug  5 05:26:47 2011
New Revision: 111397
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=111397

Log:
Fixing CARBON-10858

Modified:
   trunk/carbon/components/proxy-admin/org.wso2.carbon.proxyadmin.ui/src/main/resources/web/proxyservices/index.jsp

Modified: trunk/carbon/components/proxy-admin/org.wso2.carbon.proxyadmin.ui/src/main/resources/web/proxyservices/index.jsp
URL: http://wso2.org/svn/browse/wso2/trunk/carbon/components/proxy-admin/org.wso2.carbon.proxyadmin.ui/src/main/resources/web/proxyservices/index.jsp?rev=111397&r1=111396&r2=111397&view=diff
==============================================================================
--- trunk/carbon/components/proxy-admin/org.wso2.carbon.proxyadmin.ui/src/main/resources/web/proxyservices/index.jsp	(original)
+++ trunk/carbon/components/proxy-admin/org.wso2.carbon.proxyadmin.ui/src/main/resources/web/proxyservices/index.jsp	Fri Aug  5 05:26:47 2011
@@ -168,7 +168,7 @@
         }
     }
 
-    // the varaibles holding which option of sequences or endpoints to be selected
+    // the variables holding which option of sequences or endpoints to be selected
     String whichEP, whichFaultSeq, whichInSeq, whichOutSeq;
     whichEP = whichFaultSeq = whichInSeq = whichOutSeq = "None";
 
@@ -291,7 +291,9 @@
     if (pd != null && (entries = pd.getServiceParams()) != null && entries.length > 0 && entries[0] != null) {
         givenParams = entries[0].getKey() + "," + entries[0].getValue().replace("\n","");
         for (int i = 1; i < entries.length; i++) {
-            givenParams += "::" + entries[i].getKey() + "," + entries[i].getValue();
+            if (entries[i] != null) {
+                givenParams += "::" + entries[i].getKey() + "," + entries[i].getValue();
+            }
         }
     }
 


More information about the Carbon-commits mailing list