You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2019/01/03 20:17:47 UTC
[royale-asjs] 01/02: minor:code tidy
This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 94a06bd2befc5b59944c17f7ec285ed20bd4e498
Author: greg-dove <gr...@gmail.com>
AuthorDate: Fri Jan 4 09:16:37 2019 +1300
minor:code tidy
---
.../royale/org/apache/royale/collections/CollectionUtils.as | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/CollectionUtils.as b/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/CollectionUtils.as
index 4279e7c..024a6e8 100644
--- a/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/CollectionUtils.as
+++ b/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/CollectionUtils.as
@@ -18,13 +18,12 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.royale.collections
{
- import org.apache.royale.collections.CollectionUtils;
public class CollectionUtils
{
/**
* Constructor.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -43,7 +42,7 @@ package org.apache.royale.collections
* @param value Any kind of object to perform the comparison
*
* @return an <code>int</code> that represents the index of the object in the collection
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -78,7 +77,7 @@ package org.apache.royale.collections
* @param value Any kind of object to perform the comparison
*
* @return The object if exists in the collection
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -107,13 +106,13 @@ package org.apache.royale.collections
* The comparation is based on 'id'
* Supports nulls in property object and returns -1
* For use with List components in bindinds with "selectedIndex"
- *
+ *
* @param collection a <code>ICollectionView</code> dataprovider where we need to look for
* @param obj an <code>Object</code> with a subproperty used for comparation
* @param property the <code>String</code> name of the subproperty. This could be and Obejct with an id or directly a propertyId
*
* @return the index if was found, -1 if the object is null or not found
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -137,4 +136,4 @@ package org.apache.royale.collections
return index;
}
}
-}
\ No newline at end of file
+}