Skip to content

Commit

Permalink
Fixed compilation failures
Browse files Browse the repository at this point in the history
  • Loading branch information
fickludd committed Mar 20, 2017
1 parent bde14f8 commit 32b182c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -141,7 +141,7 @@ private LuceneIndexUpdater( LuceneIndexWriter indexWriter, boolean isRecovery )
public void process( IndexEntryUpdate update ) throws IOException
{
// we do not support adding partial entries
assert update.descriptor().equals( descriptor.schema() );
assert update.indexKey().schema().equals( descriptor.schema() );

switch ( update.updateMode() )
{
Expand Down
Expand Up @@ -98,11 +98,11 @@ public void markAsFailed( String failure ) throws IOException
luceneIndex.markAsFailed( failure );
}

private boolean updatesForCorrectIndex( Collection<IndexEntryUpdate> updates )
private boolean updatesForCorrectIndex( Collection<? extends IndexEntryUpdate<?>> updates )
{
for ( IndexEntryUpdate update : updates )
{
if ( !update.descriptor().equals( luceneIndex.getDescriptor().schema() ) )
if ( !update.indexKey().schema().equals( luceneIndex.getDescriptor().schema() ) )
{
return false;
}
Expand Down

0 comments on commit 32b182c

Please sign in to comment.