Hadrien Kohl

Results 17 comments of Hadrien Kohl

The problem here is type erasure I think. If you wrap your lambda in a parameterized method (like it is done in Selectors.roundRobin()) I think it should work. I am...

``` Index: src/test/java/com/codepoetics/protonpack/InterleaveTest.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP UTF-8 =================================================================== --- src/test/java/com/codepoetics/protonpack/InterleaveTest.java (revision 473d6d7beac157ea94ae4a9165ab4cfff87de34e) +++ src/test/java/com/codepoetics/protonpack/InterleaveTest.java (revision ) @@ -1,10 +1,12 @@ package com.codepoetics.protonpack; import com.codepoetics.protonpack.selectors.Selectors; +import org.hamcrest.Matchers; import org.junit.Test;...

This does it. I think the `Supplier bufferedValues` could probably be taken in in the `InterleavingSpliterator` as a method IMO.

> The answer to "why does this happen" is that the generic ` Selector roundRobin()` method actually creates, after erasure of T, a `Selector`, which expects an array of `Object[]`...

I can create a PR if you are ok merging it?

> Will check and test. What do you propose (technically speaking)? When connecting to the GCP via the API, there's a way to configure the retry strategy. https://googleapis.dev/java/google-cloud-clients/latest/index.html I'm not...

``` diff --git i/lib/eax.js w/lib/eax.js index a7c6408..058c858 100644 --- i/lib/eax.js +++ w/lib/eax.js @@ -609,14 +609,14 @@ var CryptoJS = require("crypto-js"); ext.xor(self._tag, ctTag); self.reset(); - return xoredData.concat(ctFin).concat(self._tag); + return xoredData.concat(ctFin).concat(ext.leftmostBytes(self._tag, self._tagLen));...