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/13 11:44:56 UTC

[1/7] git commit: [flex-asjs] [refs/heads/develop_strictest] - Fixed warning "Property init never defined on org.apache.flex.core.SimpleValuesImpl"

Updated Branches:
  refs/heads/develop_strictest 939422151 -> 3db28dbdc


Fixed warning "Property init never defined on org.apache.flex.core.SimpleValuesImpl"

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/b6b3d23b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b6b3d23b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b6b3d23b

Branch: refs/heads/develop_strictest
Commit: b6b3d23b221f663964c64bf42592f53e4972c1cc
Parents: 9394221
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 13 08:43:36 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 13 08:43:36 2013 +0100

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/core/Application.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b6b3d23b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
index 40121a3..d31b15d 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
@@ -70,7 +70,10 @@ org.apache.flex.core.Application.prototype.start = function() {
       this.get_MXMLProperties());
 
   org.apache.flex.core.ValuesManager.valuesImpl = this.valuesImpl;
-  this.valuesImpl.init(this);
+
+  // (erikdebruin) there is no method 'init' on the
+  //               class 'org.apache.flex.core.SimpleValuesImpl'
+  //this.valuesImpl.init(this);
 
   this.dispatchEvent('initialize');
 


[3/7] git commit: [flex-asjs] [refs/heads/develop_strictest] - Fixed type checking issue when using '-strict' compiler setting.

Posted by er...@apache.org.
Fixed type checking issue when using '-strict' compiler setting.

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/d2211fc4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d2211fc4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d2211fc4

Branch: refs/heads/develop_strictest
Commit: d2211fc44c75a406ab3608347d88f1e1bc6d8a39
Parents: 4a5ca76
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 13 09:30:43 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 13 09:30:43 2013 +0100

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/utils/Language.js     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d2211fc4/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
index 20c4634..3a610dc 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -27,11 +27,11 @@ org.apache.flex.utils.Language = function() {
  * as()
  *
  * @expose
- * @param {!Object} leftOperand The lefthand operand of the
+ * @param {*} leftOperand The lefthand operand of the
  *     binary as operator in AS3.
- * @param {!Object} rightOperand The righthand operand of the
+ * @param {*} rightOperand The righthand operand of the
  *     binary operator in AS3.
- * @return {?Object} Returns the lefthand operand if it is
+ * @return {*} Returns the lefthand operand if it is
  *     of the type of the righthand operand, otherwise null.
  */
 org.apache.flex.utils.Language.as = function(leftOperand, rightOperand) {
@@ -56,9 +56,9 @@ org.apache.flex.utils.Language._int = function(value) {
  * is()
  *
  * @expose
- * @param {?Object} leftOperand The lefthand operand of the
+ * @param {*} leftOperand The lefthand operand of the
  *     binary as operator in AS3.
- * @param {!Object} rightOperand The righthand operand of the
+ * @param {*} rightOperand The righthand operand of the
  *     binary operator in AS3.
  * @return {boolean}
  */
@@ -83,7 +83,7 @@ org.apache.flex.utils.Language.is = function(leftOperand, rightOperand) {
     return false;
   };
 
-  if (leftOperand instanceof rightOperand) {
+  if (leftOperand instanceof /** @type {Object} */(rightOperand)) {
     return true;
   } else if (leftOperand.FLEXJS_CLASS_INFO &&
       leftOperand.FLEXJS_CLASS_INFO.interfaces) {


[5/7] git commit: [flex-asjs] [refs/heads/develop_strictest] - Disabled type checking on arguments of 'is()' and 'as()' entirely.

Posted by er...@apache.org.
Disabled type checking on arguments of 'is()' and 'as()' entirely.

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/56e2d7ce
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/56e2d7ce
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/56e2d7ce

Branch: refs/heads/develop_strictest
Commit: 56e2d7ce9360519afad53746d3260a08949ac8ad
Parents: 3ba9061
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 13 10:23:03 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 13 10:23:03 2013 +0100

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/utils/Language.js       | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/56e2d7ce/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
index 3a610dc..b605e93 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -27,11 +27,11 @@ org.apache.flex.utils.Language = function() {
  * as()
  *
  * @expose
- * @param {*} leftOperand The lefthand operand of the
+ * @param {?} leftOperand The lefthand operand of the
  *     binary as operator in AS3.
- * @param {*} rightOperand The righthand operand of the
+ * @param {?} rightOperand The righthand operand of the
  *     binary operator in AS3.
- * @return {*} Returns the lefthand operand if it is
+ * @return {?} Returns the lefthand operand if it is
  *     of the type of the righthand operand, otherwise null.
  */
 org.apache.flex.utils.Language.as = function(leftOperand, rightOperand) {
@@ -56,9 +56,9 @@ org.apache.flex.utils.Language._int = function(value) {
  * is()
  *
  * @expose
- * @param {*} leftOperand The lefthand operand of the
+ * @param {?} leftOperand The lefthand operand of the
  *     binary as operator in AS3.
- * @param {*} rightOperand The righthand operand of the
+ * @param {?} rightOperand The righthand operand of the
  *     binary operator in AS3.
  * @return {boolean}
  */


[6/7] git commit: [flex-asjs] [refs/heads/develop_strictest] - Fixed type check.

Posted by er...@apache.org.
Fixed type check.

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/f322c891
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f322c891
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f322c891

Branch: refs/heads/develop_strictest
Commit: f322c891d84c1f63d707196f47d4cb3bd039fc3a
Parents: 56e2d7c
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 13 10:23:21 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 13 10:23:21 2013 +0100

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f322c891/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
index 9d3c41e..e55cf3c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
@@ -172,7 +172,7 @@ org.apache.flex.binding.WatcherBase.prototype.wrapUpdate =
     var n = staticClass.allowedErrorTypes.length;
     for (var i = 0; i < n; i++)
     {
-      if (error.constructor == staticClass.allowedErrorTypes[i].type)
+      if (org.apache.flex.utils.Language.is(error, staticClass.allowedErrorTypes[i].type))
       {
         var handler = staticClass.allowedErrorTypes[i].handler;
         if (handler != null)


[2/7] git commit: [flex-asjs] [refs/heads/develop_strictest] - Added '@suppress {checkTypes}' to hide the warning caused by having an assignment in an interface, which we need to make 'is()' work.

Posted by er...@apache.org.
Added '@suppress {checkTypes}' to hide the warning caused by having an assignment in an interface, which we need to make 'is()' work.

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/4a5ca76f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4a5ca76f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4a5ca76f

Branch: refs/heads/develop_strictest
Commit: 4a5ca76feeaf83703f96b2a828becb8c0b4e5e2a
Parents: b6b3d23
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 13 09:10:33 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 13 09:10:33 2013 +0100

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/core/IBeadController.js      | 6 +++++-
 frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js   | 5 +++++
 frameworks/js/FlexJS/src/org/apache/flex/core/IBeadModel.js    | 5 +++++
 frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js     | 5 +++++
 frameworks/js/FlexJS/src/org/apache/flex/core/IStatesImpl.js   | 5 +++++
 5 files changed, 25 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4a5ca76f/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
index 625aff9..4de6b72 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
@@ -12,6 +12,11 @@
  * limitations under the License.
  */
 
+/**
+ * @fileoverview
+ * @suppress {checkTypes}
+ */
+
 goog.provide('org.apache.flex.core.IBeadController');
 
 goog.require('org.apache.flex.core.IBead');
@@ -29,7 +34,6 @@ org.apache.flex.core.IBeadController = function() {
 /**
  * @const
  * @type {Object.<string, Array.<Object>>}
- * @suppress {checkTypes}
  */
 org.apache.flex.core.IBeadController.prototype.FLEXJS_CLASS_INFO =
     { interfaces: [org.apache.flex.core.IBead] };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4a5ca76f/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
index 1938b9b..45cd550 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
@@ -12,6 +12,11 @@
  * limitations under the License.
  */
 
+/**
+ * @fileoverview
+ * @suppress {checkTypes}
+ */
+
 goog.provide('org.apache.flex.core.IBeadLayout');
 
 goog.require('org.apache.flex.core.IBead');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4a5ca76f/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadModel.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadModel.js
index 018ee7c..d1217cd 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadModel.js
@@ -12,6 +12,11 @@
  * limitations under the License.
  */
 
+/**
+ * @fileoverview
+ * @suppress {checkTypes}
+ */
+
 goog.provide('org.apache.flex.core.IBeadModel');
 
 goog.require('org.apache.flex.core.IBead');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4a5ca76f/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
index 2e15acc..3ac9550 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
@@ -12,6 +12,11 @@
  * limitations under the License.
  */
 
+/**
+ * @fileoverview
+ * @suppress {checkTypes}
+ */
+
 goog.provide('org.apache.flex.core.IBeadView');
 
 goog.require('org.apache.flex.events.EventDispatcher');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4a5ca76f/frameworks/js/FlexJS/src/org/apache/flex/core/IStatesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IStatesImpl.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IStatesImpl.js
index 4647103..fb12c6a 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IStatesImpl.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IStatesImpl.js
@@ -12,6 +12,11 @@
  * limitations under the License.
  */
 
+/**
+ * @fileoverview
+ * @suppress {checkTypes}
+ */
+
 goog.provide('org.apache.flex.core.IStatesImpl');
 
 goog.require('org.apache.flex.core.IBead');


[7/7] git commit: [flex-asjs] [refs/heads/develop_strictest] - Revert "Fixed warning "Property init never defined on org.apache.flex.core.SimpleValuesImpl""

Posted by er...@apache.org.
Revert "Fixed warning "Property init never defined on org.apache.flex.core.SimpleValuesImpl""

This reverts commit b6b3d23b221f663964c64bf42592f53e4972c1cc.


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

Branch: refs/heads/develop_strictest
Commit: 3db28dbdc390b8cc4a136a789008b6b455290980
Parents: f322c89
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 13 11:02:07 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 13 11:02:07 2013 +0100

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/core/Application.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3db28dbd/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
index d31b15d..40121a3 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
@@ -70,10 +70,7 @@ org.apache.flex.core.Application.prototype.start = function() {
       this.get_MXMLProperties());
 
   org.apache.flex.core.ValuesManager.valuesImpl = this.valuesImpl;
-
-  // (erikdebruin) there is no method 'init' on the
-  //               class 'org.apache.flex.core.SimpleValuesImpl'
-  //this.valuesImpl.init(this);
+  this.valuesImpl.init(this);
 
   this.dispatchEvent('initialize');
 


[4/7] git commit: [flex-asjs] [refs/heads/develop_strictest] - Fixed some more type checking issues when using '-strict' compiler setting.

Posted by er...@apache.org.
Fixed some more type checking issues when using '-strict' compiler setting.

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/3ba90615
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3ba90615
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3ba90615

Branch: refs/heads/develop_strictest
Commit: 3ba90615aa73bddaef3bdf3be09299f260763a78
Parents: d2211fc
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 13 09:33:20 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 13 09:33:20 2013 +0100

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/core/ViewBase.js      |  8 ++++----
 .../src/org/apache/flex/events/ValueChangeEvent.js      | 12 ++++++------
 2 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3ba90615/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
index 7db4417..6307328 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
@@ -43,9 +43,9 @@ org.apache.flex.core.ViewBase = function() {
 
   /**
    * @private
-   * @type {Object}
+   * @type {string}
    */
-  this.currentState_ = null;
+  this.currentState_ = '';
 
 };
 goog.inherits(org.apache.flex.core.ViewBase, org.apache.flex.core.UIBase);
@@ -140,7 +140,7 @@ org.apache.flex.core.ViewBase.prototype.hasState = function(state) {
 
 /**
  * @expose
- * @return {Object} The name of the current state.
+ * @return {string} The name of the current state.
  */
 org.apache.flex.core.ViewBase.prototype.get_currentState = function() {
   return this.currentState_;
@@ -149,7 +149,7 @@ org.apache.flex.core.ViewBase.prototype.get_currentState = function() {
 
 /**
  * @expose
- * @param {Object} value The name of the current state.
+ * @param {string} value The name of the current state.
  */
 org.apache.flex.core.ViewBase.prototype.set_currentState = function(value) {
   var event = new org.apache.flex.events.ValueChangeEvent(

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3ba90615/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js b/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js
index 875c5e2..70b1292 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/events/ValueChangeEvent.js
@@ -22,8 +22,8 @@ goog.require('goog.events.Event');
  * @constructor
  * @extends {goog.events.Event}
  * @param {string} type The event type.
- * @param {Object} ov The old value.
- * @param {Object} nv The new value.
+ * @param {*} ov The old value.
+ * @param {*} nv The new value.
  */
 org.apache.flex.events.ValueChangeEvent = function(type, ov, nv) {
   goog.base(this, type);
@@ -54,14 +54,14 @@ org.apache.flex.events.ValueChangeEvent.prototype.type = '';
 
 /**
  * @expose
- * @type {Object} oldValue The old value.
+ * @type {*} oldValue The old value.
  */
 org.apache.flex.events.ValueChangeEvent.prototype.oldValue = null;
 
 
 /**
  * @expose
- * @type {Object} newValue The new value.
+ * @type {*} newValue The new value.
  */
 org.apache.flex.events.ValueChangeEvent.prototype.newValue = null;
 
@@ -84,8 +84,8 @@ org.apache.flex.events.ValueChangeEvent.prototype.source = null;
  * @expose
  * @param {Object} source The object that changed.
  * @param {string} name The property that changed.
- * @param {Object} oldValue The old value.
- * @param {Object} newValue The new value.
+ * @param {*} oldValue The old value.
+ * @param {*} newValue The new value.
  * @return {Object} An event object.
  */
 org.apache.flex.events.ValueChangeEvent.createUpdateEvent =