From 9b86beea98cb3f6b876ae901e28468dbc4620e70 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Sat, 21 Jan 2012 12:50:25 +0000 Subject: [PATCH] Remove obsolete javadocs git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234318 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/java/org/apache/lucene/index/IndexReader.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lucene/src/java/org/apache/lucene/index/IndexReader.java b/lucene/src/java/org/apache/lucene/index/IndexReader.java index d9d983fb697..ae4037d22b2 100644 --- a/lucene/src/java/org/apache/lucene/index/IndexReader.java +++ b/lucene/src/java/org/apache/lucene/index/IndexReader.java @@ -921,13 +921,7 @@ public abstract class IndexReader implements Closeable { * If this method returns an empty array, that means this * reader is a null reader (for example a MultiReader * that has no sub readers). - *

- * NOTE: You should not try using sub-readers returned by - * this method to make any changes (deleteDocument, - * etc.). While this might succeed for one composite reader - * (like MultiReader), it will most likely lead to index - * corruption for other readers (like DirectoryReader obtained - * through {@link #open}. Use the parent reader directly. */ + */ public IndexReader[] getSequentialSubReaders() { ensureOpen(); return null;