You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2011/12/11 16:30:24 UTC

svn commit: r1213013 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/IOUtils.java

Author: uschindler
Date: Sun Dec 11 15:30:23 2011
New Revision: 1213013

URL: http://svn.apache.org/viewvc?rev=1213013&view=rev
Log:
fix generics violation

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/IOUtils.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/IOUtils.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/IOUtils.java?rev=1213013&r1=1213012&r2=1213013&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/IOUtils.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/IOUtils.java Sun Dec 11 15:30:23 2011
@@ -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) {