copy-paste typo fix

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5003 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Tom Conkling
2008-04-17 19:11:12 +00:00
parent f0bf02796e
commit 855b4f27d4
+2 -2
View File
@@ -120,10 +120,10 @@ public class ArrayUtil
/** /**
* Returns the first item in the array for which the predicate function returns true, or * Returns the first item in the array for which the predicate function returns true, or
* -1 if no such item was found. The predicate function should be of type: * null if no such item was found. The predicate function should be of type:
* function (element :*) :Boolean { } * function (element :*) :Boolean { }
* *
* @return the matching element, or null if no matching element was found * @return the matching element, or null if no matching element was found.
*/ */
public static function findIf (arr :Array, predicate :Function) :* public static function findIf (arr :Array, predicate :Function) :*
{ {