Skip to content

Commit da8d7b8

Browse files
committed
Remove unneeded method
1 parent 71a0d28 commit da8d7b8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

server/src/main/java/org/elasticsearch/indices/ExecutorNames.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,4 @@ public record ExecutorNames(String threadPoolForGet, String threadPoolForSearch,
6464
throw new IllegalArgumentException(threadPoolForWrite + " is not a valid thread pool");
6565
}
6666
}
67-
68-
public boolean contains(String threadPoolName) {
69-
return threadPoolForGet.equals(threadPoolName)
70-
|| threadPoolForSearch.equals(threadPoolName)
71-
|| threadPoolForWrite.equals(threadPoolName);
72-
}
7367
}

0 commit comments

Comments
 (0)