You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/11/17 11:49:59 UTC
git commit: [flex-asjs] [refs/heads/develop] - One last null checks
to make the last of the GCC warnings go away
Updated Branches:
refs/heads/develop edf998940 -> 2ec361ab4
One last null checks to make the last of the GCC warnings go away
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2ec361ab
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2ec361ab
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2ec361ab
Branch: refs/heads/develop
Commit: 2ec361ab45ba77ca574e60e1ee4f7a9863731ec2
Parents: edf9989
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Sun Nov 17 11:20:22 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Nov 17 11:20:22 2013 +0100
----------------------------------------------------------------------
.../src/org/apache/flex/core/ItemRendererClassFactory.js | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2ec361ab/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
index 5d5b803..2491fc3 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
@@ -48,10 +48,12 @@ org.apache.flex.core.ItemRendererClassFactory.
prototype.set_strand = function(value) {
this.strand_ = value;
- this.itemRendererClass = org.apache.flex.core.ValuesManager.valuesImpl.
- getValue(this.strand_, 'iItemRenderer');
- if (this.itemRendererClass) {
- this.createFunction = this.createFromClass;
+ if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
+ this.itemRendererClass = org.apache.flex.core.ValuesManager.valuesImpl.
+ getValue(this.strand_, 'iItemRenderer');
+ if (this.itemRendererClass) {
+ this.createFunction = this.createFromClass;
+ }
}
};