Skip to content

Apache Lucene open-source search software

LUCENE-3405: fix javadocs

Michael McCandless2ed4c9afc086
diff --git a/lucene/src/java/org/apache/lucene/util/IOUtils.java b/lucene/src/java/org/apache/lucene/util/IOUtils.java
index 519ce73b883..73d9dc6e571 100644
--- a/lucene/src/java/org/apache/lucene/util/IOUtils.java
+++ b/lucene/src/java/org/apache/lucene/util/IOUtils.java
@@ -75,7 +75,7 @@ public final class IOUtils {
}
}
- /** @see #closeSafely(Exception, Closeable...) */
+ /** @see #closeWhileHandlingException(Exception, Closeable...) */
public static <E extends Exception> void closeWhileHandlingException(E priorException, Iterable<Closeable> objects) throws E, IOException {
Throwable th = null;
@@ -182,7 +182,7 @@ public final class IOUtils {
}
/**
- * @see #closeSafely(boolean, Closeable...)
+ * @see #closeWhileHandlingException(Closeable...)
*/
public static void closeWhileHandlingException(Iterable<? extends Closeable> objects) throws IOException {
for (Closeable object : objects) {