mirror of https://github.com/apache/lucene.git
Remove rawtypes/unchecked warning in FST Util.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297001 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
60d9caa11e
commit
e5f216f3dd
|
@ -490,7 +490,9 @@ public final class Util {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return results.toArray(new MinResult[results.size()]);
|
@SuppressWarnings({"rawtypes","unchecked"}) final MinResult<T>[] arr =
|
||||||
|
(MinResult<T>[]) new MinResult[results.size()];
|
||||||
|
return results.toArray(arr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue