svn commit r16306 - trunk/wsf/javascript/native/src

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit r16306 - trunk/wsf/javascript/native/src

svn-9
Author: keith
Date: Mon Apr 28 21:56:54 2008
New Revision: 16306

Log:

Minor code clenup


Modified:
   trunk/wsf/javascript/native/src/WSRequest.js

Modified: trunk/wsf/javascript/native/src/WSRequest.js
==============================================================================
--- trunk/wsf/javascript/native/src/WSRequest.js (original)
+++ trunk/wsf/javascript/native/src/WSRequest.js Mon Apr 28 21:56:54 2008
@@ -626,7 +626,7 @@
                     }
 
                     // If ignore uncited option has been set, append parameter to URL else to the body.
-                    if (options[HTTPLocationIgnoreUncited] == null && options[HTTPLocationIgnoreUncited] != false) {
+                    if (options[HTTPLocationIgnoreUncited] == null && options[HTTPLocationIgnoreUncited]) {
 
                         // If he URL does not contain ? add it and then the parameter.
                         if (resultValues["url"].indexOf(queryStringSep) == -1) {
@@ -681,9 +681,9 @@
         var wsaNs = "";
         var wsaNsDecl = "";
         var usingWSA = false;
-        if (useWSA != undefined && useWSA != false) {
+        if (useWSA != undefined && useWSA) {
             var standardversion;
-            if (useWSA == "1.0" || useWSA == true) {
+            if (useWSA == "1.0" || useWSA) {
                 wsaNs = "http://www.w3.org/2005/08/addressing";
                 standardversion = true;
             } else if (useWSA == "submission") {

_______________________________________________
Wsf-javascript-dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/wsf-javascript-dev
Loading...