Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16341

LocalCacheStream toList/toArray are empty when using sorted/distinct/limit/skip

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.1.0.Dev03, 15.0.7.Final
    • 13.0.0.Final
    • Core
    • None

      Due to a typo, not updating a copy/paste the `toArray` method of IntermediateCacheStream always returns an empty array. This was found because the new default toList method uses this underneath. The typo just needs to be fixed.

      https://github.com/infinispan/infinispan/blob/74c90b1fb1f37436847049fb14d954de08940ec9/core/src/main/java/org/infinispan/stream/impl/IntermediateCacheStream.java#L321

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: