flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [2/5] git commit: [flex-falcon] [refs/heads/develop] - Revert "Add null check"
Date Sun, 31 May 2015 17:47:52 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/27b6d989
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/27b6d989
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/27b6d989

Branch: refs/heads/develop
Commit: 27b6d989607128c79dcdab04227a5f18d13e6f7a
Parents: 2d0adbb
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Sun May 31 19:47:38 2015 +0200
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Sun May 31 19:47:38 2015 +0200

----------------------------------------------------------------------
 .../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/27b6d989/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