Why is this <T extends Object>?

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2775 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray.j.greenwell
2010-04-16 00:56:06 +00:00
parent 3ad9520cb0
commit 12c107bd29
+1 -1
View File
@@ -37,7 +37,7 @@ public class ArrayUtil
*
* @return the index of the first matching value if one was found, -1 otherwise.
*/
public static <T extends Object> int indexOf (T[] values, T value)
public static <T> int indexOf (T[] values, T value)
{
int count = (values == null) ? 0 : values.length;
for (int ii = 0; ii < count; ii++) {