Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Making two classes compatible.
git-svn-id: file:///opt/svn/repositories/sonatype.org/nexus/trunk/nexus-indexer@7020 2aa8b3fc-8ebb-4439-a84f-95066eaea8ab
  • Loading branch information
cstamas committed Aug 16, 2010
1 parent a03e1a3 commit 14adabd
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/main/java/org/apache/lucene/index/ExtendedIndexWriter.java
Expand Up @@ -6,15 +6,27 @@
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.LockObtainFailedException;

/**
* Hacky class.
*
* @author cstamas
*/
public class ExtendedIndexWriter
extends IndexWriter
{
@Deprecated
public ExtendedIndexWriter( Directory d, boolean autoCommit, Analyzer a, boolean create )
throws CorruptIndexException, LockObtainFailedException, IOException
{
super( d, autoCommit, a, create );
}


public ExtendedIndexWriter( Directory d, Analyzer a, boolean create, MaxFieldLength mfl )
throws CorruptIndexException, LockObtainFailedException, IOException
{
super( d, a, create, mfl );
}

public boolean hasUncommitedChanges()
{
return pendingCommit != null;
Expand Down

0 comments on commit 14adabd

Please sign in to comment.