Skip to content

Commit

Permalink
HSEARCH-2770 Remove deprecated method ExtendedSearchIntegrator#getAna…
Browse files Browse the repository at this point in the history
…lyzerReference(Class)
  • Loading branch information
Sanne committed Jul 7, 2017
1 parent 32115ff commit c052f14
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
Expand Up @@ -404,14 +404,6 @@ public Analyzer getAnalyzer(IndexedTypeIdentifier type) {
return getAnalyzerReference( type ).unwrap( LuceneAnalyzerReference.class ).getAnalyzer();
}

@Override
@Deprecated
public ScopedAnalyzerReference getAnalyzerReference(Class<?> clazz) {
EntityIndexBinding entityIndexBinding = getSafeIndexBindingForEntity( clazz );
DocumentBuilderIndexedEntity builder = entityIndexBinding.getDocumentBuilder();
return builder.getAnalyzerReference();
}

@Override
public ScopedAnalyzerReference getAnalyzerReference(IndexedTypeIdentifier type) {
EntityIndexBinding entityIndexBinding = getSafeIndexBindingForEntity( type );
Expand Down
Expand Up @@ -218,12 +218,6 @@ public Analyzer getAnalyzer(IndexedTypeIdentifier type) {
return delegate.getAnalyzer( type );
}

@Override
@Deprecated
public ScopedAnalyzerReference getAnalyzerReference(Class<?> clazz) {
return delegate.getAnalyzerReference( clazz );
}

@Override
public QueryContextBuilder buildQueryBuilder() {
return delegate.buildQueryBuilder();
Expand Down
Expand Up @@ -165,10 +165,4 @@ public interface ExtendedSearchIntegrator extends SearchIntegrator {
*/
ScopedAnalyzerReference getAnalyzerReference(IndexedTypeIdentifier type);

/**
* @deprecated use {@link #getAnalyzerReference(IndexedTypeIdentifier)}
*/
@Deprecated
ScopedAnalyzerReference getAnalyzerReference(Class<?> clazz);

}

0 comments on commit c052f14

Please sign in to comment.