mirror of https://github.com/apache/lucene.git
fix generics violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213013 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
77ee519468
commit
bf13918e16
|
@ -96,7 +96,7 @@ public final class IOUtils {
|
|||
}
|
||||
|
||||
/** @see #closeWhileHandlingException(Exception, Closeable...) */
|
||||
public static <E extends Exception> void closeWhileHandlingException(E priorException, Iterable<Closeable> objects) throws E, IOException {
|
||||
public static <E extends Exception> void closeWhileHandlingException(E priorException, Iterable<? extends Closeable> objects) throws E, IOException {
|
||||
Throwable th = null;
|
||||
|
||||
for (Closeable object : objects) {
|
||||
|
|
Loading…
Reference in New Issue