From 50cbfec8ffcf5f1b7d61f411a4b28fbb6ca5f18b Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Sun, 11 Dec 2011 23:02:50 +0000 Subject: [PATCH] fix javadocs to no longer mention IR's commit(). git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213099 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/java/org/apache/lucene/index/IndexReader.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lucene/src/java/org/apache/lucene/index/IndexReader.java b/lucene/src/java/org/apache/lucene/index/IndexReader.java index 77acfc27cfc..15f0f2562f6 100644 --- a/lucene/src/java/org/apache/lucene/index/IndexReader.java +++ b/lucene/src/java/org/apache/lucene/index/IndexReader.java @@ -246,12 +246,11 @@ public abstract class IndexReader implements Cloneable,Closeable { /** * Expert: decreases the refCount of this IndexReader - * instance. If the refCount drops to 0, then pending - * changes (if any) are committed to the index and this + * instance. If the refCount drops to 0, then this * reader is closed. If an exception is hit, the refCount * is unchanged. * - * @throws IOException in case an IOException occurs in commit() or doClose() + * @throws IOException in case an IOException occurs in doClose() * * @see #incRef */