Import Guava utilities

Issue #18 wontfix
Justin Richer created an issue

Google's Guava utilities pack many very useful functions and utility classes that would be helpful for building and extending the functionality of Nimbus-JOSE.

Comments (3)

  1. Vladimir Dzhuvinov

    Base64 + Base64URL is the only external utility that is currently used, provided by Apache Commons Codec.

    Guava does offer base encoding/decoding, but the com.google.common.io.BaseEncoding class is still marked as @Beta as of v14.

  2. Justin Richer reporter

    Guava adds a lot more than just the encoding, though. There are lots of useful utilities dealing with objects, collections, strings, and other things that I use on basically every project these days. It's one of the first things I import in Java, but I can understand a desire to minimize external dependencies.

  3. Log in to comment