rishabhdaim commented on code in PR #2408: URL: https://github.com/apache/jackrabbit-oak/pull/2408#discussion_r2236389236
########## oak-run/src/test/java/org/apache/jackrabbit/oak/plugins/tika/CSVFileBinaryResourceProviderTest.java: ########## @@ -50,12 +52,24 @@ public void testGetBinaries() throws Exception { CSVFileBinaryResourceProvider provider = new CSVFileBinaryResourceProvider(dataFile, new MemoryBlobStore()); - Map<String, BinaryResource> binaries = provider.getBinaries("/").uniqueIndex(BinarySourceMapper.BY_BLOBID::apply); + Map<String, BinaryResource> binaries = StreamUtils.toStream(provider.getBinaries("/")).collect(Collectors.toMap( Review Comment: There is no `uniqueIndex` API on Apache's `FluentIterable`, so I had to transform to `Stream` to create a `Map`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org