Merge pull request #865 from juandiana/runtimetypeadapterfactory-docs-fix

Fix registerTypeAdapterFactory method usage
This commit is contained in:
Jake Wharton 2016-05-25 15:10:18 -04:00
commit daa92e3fdc

View File

@ -111,7 +111,7 @@ import com.google.gson.stream.JsonWriter;
* Finally, register the type adapter factory in your application's GSON builder:
* <pre> {@code
* Gson gson = new GsonBuilder()
* .registerTypeAdapterFactory(Shape.class, shapeAdapterFactory)
* .registerTypeAdapterFactory(shapeAdapterFactory)
* .create();
* }</pre>
* Like {@code GsonBuilder}, this API supports chaining: <pre> {@code