Skip to content

Commit ddd5738

Browse files
committed
Make getFilteredFields throw
1 parent 068059f commit ddd5738

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/reindex/src/main/java/org/elasticsearch/reindex/RestReindexAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ protected ReindexRequest buildRequest(RestRequest request) throws IOException {
8787
*/
8888
@Override
8989
public Set<String> getFilteredFields() {
90-
return Set.of();
90+
assert false : "This method should never be called";
91+
throw new UnsupportedOperationException();
9192
}
9293

9394
@Override

0 commit comments

Comments
 (0)