mdedetrich opened a new pull request, #2464: URL: https://github.com/apache/pekko/pull/2464
When working on https://github.com/apache/pekko/pull/2409 I needed to convert from Java Optional to Scala Option and I realized that due to Java Optional being invariant and Scala's `Int` being a subclass of Java's `Integer` you need some boilerplate in order convert from one to the other. This boilerplate already lives in pekko-http (see https://github.com/apache/pekko-http/blob/4833a8e42f946682a72a72a0f3bee4c4d662b9a6/http-core/src/main/java/org/apache/pekko/http/impl/util/Util.java) so this PR moves that code from pekko-http to pekko (since this will be the first time we need to use this code in pekko core). Once 2.0.0-M1 will be published then we can change pekko-http to use this code. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
