java-json-tools/json-schema-core

guava call causing dependency issues

ajhcpt opened this issue · 5 comments

Hi, this call in BaseSchemaTree:

public final String toString()
    {
        return Objects.toStringHelper(this)
            .add("key", key)
            .add("pointer", pointer)
            .add("URI context", currentRef)
            .toString();
    }

Objects.toStringHelper has been deprecated and removed in later versions of guava. Is there another way to generate this string that doesn't depend on the Objects.toString?

PTAL at #42

Thats perfect! thanks. When will this be able to be merged?

Also I came to this via the json-schema-validator project. Should I log an issue there for that to be rebuilt post this being merged?

I'll merge and rebuild json-schema-core, and validator and publish new versions today.

json-schema-core 1.2.10 and json-schema-validator 2.2.10 should be out soon with this fix.