You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mi...@apache.org on 2015/05/22 19:02:21 UTC

[09/10] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34854 Minor changes to imports, asdocs and removing an unused variable.

FLEX-34854
Minor changes to imports, asdocs and removing an unused variable.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/9c40493a
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/9c40493a
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/9c40493a

Branch: refs/heads/develop
Commit: 9c40493acac7bba47f7509a9e0e17c137602d48c
Parents: ee4da99
Author: Mihai Chira <mi...@apache.org>
Authored: Fri May 22 18:37:59 2015 +0200
Committer: Mihai Chira <mi...@apache.org>
Committed: Fri May 22 18:37:59 2015 +0200

----------------------------------------------------------------------
 .../src/mx/binding/utils/BindingUtils.as        |  4 +---
 .../src/mx/binding/utils/ChangeWatcher.as       |  2 +-
 .../framework/src/mx/collections/ISort.as       |  2 +-
 .../framework/src/mx/collections/SortField.as   | 21 +++++++++-----------
 4 files changed, 12 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9c40493a/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as b/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as
index e9b8e46..d07ea68 100644
--- a/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as
+++ b/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as
@@ -20,8 +20,6 @@
 package mx.binding.utils
 {
 
-import mx.binding.utils.ChangeWatcher;
-
 /**
  *  The BindingUtils class defines utility methods
  *  for performing data binding from ActionScript.
@@ -158,7 +156,7 @@ public class BindingUtils
      *  The <code>host</code> maintains a list of <code>setters</code> to update 
      *  when <code>prop</code> changes.
      *
-     *  @param name The name of the property, or property chain. 
+     *  @param chain The name of the property, or property chain.
      *  See the <code>bindProperty()</code> method for more information.
      *
      *  @param commitOnly Set to <code>true</code> if the handler should be

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9c40493a/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as b/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
index 6e07aba..9dc2470 100644
--- a/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
+++ b/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
@@ -246,7 +246,7 @@ public class ChangeWatcher
     /**
      *  Lets you determine if an Object has any properties.
      *
-     *  @param Object to inspect.
+     *  @param obj to inspect.
      *
      *  @return <code>true</code> if Object has no properties.
      *  

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9c40493a/frameworks/projects/framework/src/mx/collections/ISort.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/ISort.as b/frameworks/projects/framework/src/mx/collections/ISort.as
index a9cae60..14e3b74 100644
--- a/frameworks/projects/framework/src/mx/collections/ISort.as
+++ b/frameworks/projects/framework/src/mx/collections/ISort.as
@@ -280,7 +280,7 @@ public interface ISort
      *  The function cannot determine a definitive answer if the sort uses a
      *  custom comparator; it always returns <code>true</code> in this case.
      *
-     *  @param property The name of the field that to test.
+     *  @param property The name of the field to test.
      *  @return Whether the property value might affect the sort outcome.
      *  If the sort uses the default compareFunction, returns
      *  <code>true</code> if the

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9c40493a/frameworks/projects/framework/src/mx/collections/SortField.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/SortField.as b/frameworks/projects/framework/src/mx/collections/SortField.as
index 53b2dab..0afb05f 100644
--- a/frameworks/projects/framework/src/mx/collections/SortField.as
+++ b/frameworks/projects/framework/src/mx/collections/SortField.as
@@ -20,17 +20,15 @@
 package mx.collections
 {
 
-import flash.events.Event;
-import flash.events.EventDispatcher;
-import mx.collections.errors.SortError;
-import mx.managers.ISystemManager;
-import mx.managers.SystemManager;
-import mx.resources.IResourceManager;
-import mx.resources.ResourceManager;
-import mx.utils.ObjectUtil;
-import mx.collections.SortFieldCompareTypes;
-
-[ResourceBundle("collections")]
+    import flash.events.Event;
+    import flash.events.EventDispatcher;
+
+    import mx.collections.errors.SortError;
+    import mx.resources.IResourceManager;
+    import mx.resources.ResourceManager;
+    import mx.utils.ObjectUtil;
+
+    [ResourceBundle("collections")]
 [Alternative(replacement="spark.collections.SortField", since="4.5")]
 
 /**
@@ -659,7 +657,6 @@ public class SortField extends EventDispatcher implements ISortField
 
     private function nullCompare(a:Object, b:Object):int
     {
-        var value:Object;
         var left:Object;
         var right:Object;