flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ftho...@apache.org
Subject [21/35] git commit: [flex-falcon] [refs/heads/IDEA-FLEX_JS_COMPILER] - Revert "Add null check"
Date Tue, 02 Jun 2015 12:42:28 GMT
Revert "Add null check"

This reverts commit 06cbaf4a4b6a953c34f253fedcb97f64fc7f23ee.


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

Branch: refs/heads/IDEA-FLEX_JS_COMPILER
Commit: f67b246aa31523d93ab969797f4c4b02e1eadd4a
Parents: da5a714
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Sun May 31 19:47:38 2015 +0200
Committer: Frédéric THOMAS <webdoublefx@gmail.com>
Committed: Tue Jun 2 13:41:00 2015 +0100

----------------------------------------------------------------------
 .../internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java       | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f67b246a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
index e56a654..5c2aae0 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
@@ -1391,13 +1391,10 @@ public class MXMLVF2JSEmitter extends MXMLEmitter implements
     public void emitComponent(IMXMLComponentNode node)
     {
         MXMLVF2JSDescriptorSpecifier ps = getCurrentDescriptor("ps");
-        if (ps != null) 
-        {
-        	ps.value = "new mx.core.ClassFactory(";
+        ps.value = "new mx.core.ClassFactory(";
 
-	        ps.value += node.getName();
-	        ps.value += ")";
-        }
+        ps.value += node.getName();
+        ps.value += ")";
         
         setBufferWrite(true);
         emitSubDocument(node);


Mime
View raw message