- Added 2 FIXMEs.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2002-09-15 00:13:12 +00:00
parent 475a837eaf
commit 3252c4925a
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,7 @@ public class StoragePipeline implements DocumentStorage, LinkStorage
*/
public void addDocStorage(DocumentStorage storage)
{
// FIXME: use JDK 1.4 asserts instead?
if (isOpen)
{
throw new IllegalStateException("storage can't be added if pipeline is already open");
@ -142,6 +143,7 @@ public class StoragePipeline implements DocumentStorage, LinkStorage
*/
public void addLinkStorage(LinkStorage storage)
{
// FIXME: use JDK 1.4 asserts instead?
if (isOpen)
{
throw new IllegalStateException("storage can't be added if pipeline is already open");