Skip to content

Commit bf0c48a

Browse files
csviriCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f051b31 commit bf0c48a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer/ManagedInformerEventSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public Stream<R> byIndexStream(String indexName, String indexKey) {
279279
public List<R> byIndex(String indexName, String indexKey) {
280280
return mergeWithWithTempCacheResources(
281281
manager().byIndexStream(indexName, indexKey), indexName, indexKey)
282-
.toList();
282+
.collect(Collectors.toList());
283283
}
284284

285285
private Stream<R> mergeWithWithTempCacheResources(

0 commit comments

Comments
 (0)