This is an automated email from the ASF dual-hosted git repository.

gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 312d065  minor : add explanation to docs for qualified name contents.
312d065 is described below

commit 312d0651e6627b4e755269297b19345460caced3
Author: greg-dove <[email protected]>
AuthorDate: Mon Oct 25 12:14:45 2021 +1300

    minor : add explanation to docs for qualified name contents.
---
 .../royale/org/apache/royale/reflection/getQualifiedClassName.as | 9 +++++----
 .../org/apache/royale/reflection/getQualifiedSuperclassName.as   | 5 ++++-
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git 
a/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedClassName.as
 
b/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedClassName.as
index f3167cc..34f70da 100755
--- 
a/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedClassName.as
+++ 
b/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedClassName.as
@@ -27,8 +27,11 @@ COMPILE::JS{
 }
     
     /**
-     *  The equivalent of flash.utils.getQualifiedClassName.
-     * 
+     *  The equivalent of flash.utils.getQualifiedClassName,
+     *  except that qualified names do not include '::' between the package 
naming sequence and the definition name.
+     *  The '.' is always used to separate parts of the qualified name.
+     *  An example would be "my.package.path.MyClassName"
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6
@@ -39,8 +42,6 @@ COMPILE::JS{
         COMPILE::SWF
         {
             var s:String = flash.utils.getQualifiedClassName(value);
-            /*if (s === ExtraData.CLOSURE_QNAME)
-                return s;  // don't replace ::*/
             //normalize for Vector:
             return s.replace('__AS3__.vec::','').replace('::','.');
         }
diff --git 
a/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedSuperclassName.as
 
b/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedSuperclassName.as
index 7f62529..fd7f24a 100755
--- 
a/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedSuperclassName.as
+++ 
b/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/getQualifiedSuperclassName.as
@@ -24,7 +24,10 @@ COMPILE::SWF
 }
     
     /**
-     *  The equivalent of flash.utils.getQualifiedSuperclassName.
+     *  The equivalent of flash.utils.getQualifiedSuperclassName,
+     *  except that qualified names do not include '::' between the package 
naming sequence and the definition name.
+     *  The '.' is always used to separate parts of the qualified name.
+     *  An example would be "my.package.path.MyClassName"
      * 
      *  @langversion 3.0
      *  @playerversion Flash 10.2

Reply via email to