util
util copied to clipboard
Wonderful reusable code from Twitter
As you can see in many PRs (e.g. #308) there is often one of the different build matrix cases red. As far as I can see it's always the same...
Several people have worked on Scala 3 support of various modules, which is great. Scala 3 support currently isn't part of CI, which means it is only validated locally by...
## Problem Use scala-parser-combinator ~2.0.0~ 2.1.1, which is compatible for Scala 2.11 - Scala 3.0.0. If a project using twitter-util has a dependency to scala-parser-combinator 2.0.0 with sbt 1.5.x, an...
This PR builds on https://github.com/twitter/util/pull/304 so that should be merged before this one imo. There is no Scala 3 compatible version for `"org.scalatestplus" %% "mockito-1-10"`, so I had to use...
This PR builds on #304 so that should be merged before this one imo. With the new Jackson version supporting Scala 3 directly, `util-tunable` was just a config change. I'm...
This is an issue for discussing and tracking necessary step to prepare for a Dotty/Scala3 cross-build. Inspired by the awesome "Scala Love" conference, I attempted to cross-build `util-core` with Dotty...
Please reconsider #235 as it is required for jdk11 support. ### Expected behavior https://twitter.github.io/finagle/guide/changelog.html mentions initial jdk11 support for 19.11.0 onwards. Hence I expect jdk11 support. ### Actual behavior As...
Problem See https://github.com/twitter/util/issues/266, the current code throws warnings under jdk11 Solution In jdk11 it is possible to avoid the illegal reflection by simply calling getters that now exist. I tried...
As mentioned in #93, `Future` do not supprt [scala-async](https://github.com/scala/scala-async) (which introduces the wonderful async/await pattern) because c.t.utils is bound to scala 2.9.2. Now it's been a while since the library...
Hello, I am working with the `ZkAsyncSemaphore` under zk-utils and I found that I need to pre-create the znodes in ZooKeeper or an exception will be thrown. Is there a...