You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/05/24 23:37:23 UTC

[05/14] git commit: [flex-falcon] [refs/heads/develop] - Revert "return null instead of undefined"

Revert "return null instead of undefined"

This reverts commit 2783e78959f0a16420ef452229d96c29ccc8078a.


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

Branch: refs/heads/develop
Commit: 3ca9f7bdd61fcdaf69d3d20f341c2eaef56ce414
Parents: 52db28e
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 24 16:27:48 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 24 16:27:48 2016 -0700

----------------------------------------------------------------------
 .../internal/codegen/externals/reference/ConstantReference.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3ca9f7bd/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
index ff123ce..655fe57 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
@@ -95,7 +95,7 @@ public class ConstantReference extends BaseReference
         if (map.containsKey(type))
             return map.get(type);
 
-        return type.equals("*") ? "undefined" : "null";
+        return "undefined";
     }
 
 }