Skip to content

Commit

Permalink
HSEARCH-2770 Remove deprecated SearchIntegrator#getAnalyzer(Class)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Jul 7, 2017
1 parent ec08185 commit d188e89
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 27 deletions.
Expand Up @@ -411,12 +411,6 @@ public SearchIntegration getIntegration(IndexManagerType indexManagerType) {
return integration;
}

@Override
@Deprecated
public Analyzer getAnalyzer(Class<?> clazz) {
return getAnalyzerReference( clazz ).unwrap( LuceneAnalyzerReference.class ).getAnalyzer();
}

@Override
public Analyzer getAnalyzer(IndexedTypeIdentifier type) {
return getAnalyzerReference( type ).unwrap( LuceneAnalyzerReference.class ).getAnalyzer();
Expand Down
Expand Up @@ -236,12 +236,6 @@ public SearchIntegration getIntegration(IndexManagerType indexManagerType) {
return delegate.getIntegration( indexManagerType );
}

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

@Override
public Analyzer getAnalyzer(IndexedTypeIdentifier type) {
return delegate.getAnalyzer( type );
Expand Down
Expand Up @@ -144,21 +144,6 @@ public interface SearchIntegrator extends AutoCloseable {
*/
Analyzer getAnalyzer(String name);

/**
* Retrieves the scoped analyzer for a given class.
*
* @deprecated Use {@link #getAnalyzer(IndexedTypeIdentifier)}
*
* @param clazz The class for which to retrieve the analyzer.
*
* @return The scoped analyzer for the specified class.
*
* @throws java.lang.IllegalArgumentException in case {@code clazz == null} or the specified
* class is not an indexed entity.
*/
@Deprecated
Analyzer getAnalyzer(Class<?> clazz);

/**
* Retrieves the scoped analyzer for a given indexed type.
*
Expand Down

0 comments on commit d188e89

Please sign in to comment.