mirror of https://github.com/apache/lucene.git
- 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:
parent
475a837eaf
commit
3252c4925a
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue