From 5125fc2f273c7a3b75564bc17394f5edf23206ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Quenaudon?= Date: Tue, 1 Aug 2017 12:58:20 +0900 Subject: [PATCH] Fix builder calls to new API Update the example with the right API https://github.com/square/moshi/blob/master/moshi/src/main/java/com/squareup/moshi/Moshi.java#L155 --- adapters/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/README.md b/adapters/README.md index 38504bf..d3808e5 100644 --- a/adapters/README.md +++ b/adapters/README.md @@ -7,7 +7,7 @@ To use, supply an instance of your desired converter when building your `Moshi` ```java Moshi moshi = new Moshi.Builder() - .addConverterFactory(Date.class, new Rfc3339DateJsonAdapter()) + .add(Date.class, new Rfc3339DateJsonAdapter()) //etc .build(); ```