flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschma...@apache.org
Subject [3/4] git commit: [flex-falcon] [refs/heads/develop] - Removed possibleClasses from ReferenceModel.
Date Sat, 13 Jun 2015 21:58:44 GMT
Removed possibleClasses from ReferenceModel.


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

Branch: refs/heads/develop
Commit: 7fb7f2756b2f24f08d807f2bc3832602155bf9f8
Parents: bbd2df6
Author: Michael Schmalle <mschmalle@apache.org>
Authored: Sat Jun 13 17:48:35 2015 -0400
Committer: Michael Schmalle <mschmalle@apache.org>
Committed: Sat Jun 13 17:56:20 2015 -0400

----------------------------------------------------------------------
 .../codegen/externals/reference/ReferenceModel.java   | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7fb7f275/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
index 5c7de17..7c335f1 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
@@ -41,8 +41,6 @@ public class ReferenceModel
 
     private List<String> namespaces = new ArrayList<String>();
 
-    private HashMap<String, ClassReference> possibleClasses = new HashMap<String,
ClassReference>();
-
     private HashMap<String, ClassReference> typedefs = new HashMap<String, ClassReference>();
     private HashMap<String, ClassReference> classes = new HashMap<String, ClassReference>();
     private HashMap<String, FunctionReference> functions = new HashMap<String, FunctionReference>();
@@ -106,17 +104,7 @@ public class ReferenceModel
             return;
         }
 
-        if (node.getJSDocInfo().isConstant())
-        {
-            err("Model.addPossibleClass(" + qName + ")");
-            ClassReference reference = new ClassReference(this, node, qName);
-            reference.setFinal(true);
-            possibleClasses.put(qName, reference);
-        }
-        else
-        {
-            log("Model.addNamespace(" + qName + ")");
-        }
+        log("Model.addNamespace(" + qName + ")");
 
         namespaces.add(qName);
     }


Mime
View raw message