You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2017/04/16 05:53:26 UTC

[04/12] git commit: [flex-asjs] [refs/heads/develop] - add some comment and missing semicolon

add some comment and missing semicolon


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fe1ff661
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fe1ff661
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fe1ff661

Branch: refs/heads/develop
Commit: fe1ff661a4831ce0c00454fce9df478716b24f39
Parents: 242fb73
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Apr 16 10:40:28 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Apr 16 10:40:28 2017 +1000

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/net/HTTPUtils.as   | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe1ff661/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPUtils.as b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPUtils.as
index fab6fdc..e38c566 100644
--- a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPUtils.as
+++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPUtils.as
@@ -20,9 +20,26 @@ package org.apache.flex.net
 {
     public class HTTPUtils
     {
+        /**
+         *  HTTP utility methods.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
         public function HTTPUtils()
         {
         }
+
+        /**
+         *  Encode URL variables.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
 		public static function encodeUrlVariables(data:Object):String
         {
             if(!data)
@@ -37,7 +54,7 @@ package org.apache.flex.net
                 b.push("&");
             }
             if(b.length)
-                b.pop()
+                b.pop();
             return b.join("");
         }