Skip to content

Commit

Permalink
Add processor type to RenameFieldResponseProcessor.Factory
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Froh <froh@amazon.com>
  • Loading branch information
msfroh committed May 19, 2023
1 parent 739ab7d commit 63f0fa7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public SearchResponse processResponse(SearchRequest request, SearchResponse resp
/**
* This is a factor that creates the RenameResponseProcessor
*/
public static final class Factory implements Processor.Factory {
public static final class Factory implements Processor.Factory<SearchResponseProcessor> {

/**
* Constructor for factory
Expand All @@ -137,7 +137,7 @@ public static final class Factory implements Processor.Factory {

@Override
public RenameFieldResponseProcessor create(
Map<String, Processor.Factory> processorFactories,
Map<String, Processor.Factory<SearchResponseProcessor>> processorFactories,
String tag,
String description,
Map<String, Object> config
Expand Down

0 comments on commit 63f0fa7

Please sign in to comment.