Skip to content

Apache Lucene open-source search software

- Added 2 FIXMEs.

Otis Gospodnetic3252c4925a49
diff --git a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/StoragePipeline.java b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/StoragePipeline.java
index c2f69d86922..3a49e6c3201 100644
--- a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/StoragePipeline.java
+++ b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/StoragePipeline.java
@@ -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");