Merge pull request #697 from jocmp/master

Make RuntimeJsonAdapterFactory public
This commit is contained in:
Jesse Wilson 2018-10-19 23:33:06 -04:00 committed by GitHub
commit 1896e0f118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,8 +45,8 @@ import javax.annotation.CheckReturnValue;
* .build();
* }</pre>
*/
// TODO(jwilson): make this class public in Moshi 1.8.
final class RuntimeJsonAdapterFactory<T> implements JsonAdapter.Factory {
public final class RuntimeJsonAdapterFactory<T> implements JsonAdapter.Factory {
final Class<T> baseType;
final String labelKey;
final List<String> labels;