flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [2/7] git commit: [flex-asjs] [refs/heads/develop] - no need to check c twice
Date Sat, 03 Jun 2017 01:43:45 GMT
no need to check c twice


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

Branch: refs/heads/develop
Commit: 282125cc3d9159b115b06e1e885c76cea4d0bd70
Parents: ae3fbe3
Author: Justin Mclean <jmclean@apache.org>
Authored: Fri Jun 2 14:25:51 2017 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Fri Jun 2 14:25:51 2017 +1000

----------------------------------------------------------------------
 .../Basic/src/main/flex/org/apache/flex/core/UIBase.as        | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/282125cc/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
index 94cfef5..04615c3 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
@@ -870,11 +870,8 @@ package org.apache.flex.core
                 var c:Class = ValuesManager.valuesImpl.getValue(this, "iBeadView") as Class;
                 if (c)
                 {
-                    if (c)
-                    {
-                        _view = (new c()) as IBeadView;
-                        addBead(_view);
-                    }
+                    _view = (new c()) as IBeadView;
+                    addBead(_view);
                 }
             }
             return _view;


Mime
View raw message