Correct Javadoc code usage.

This commit is contained in:
Jake Wharton
2015-04-12 00:25:07 -04:00
parent 74871abd7f
commit 5e757e6f39

View File

@@ -85,8 +85,8 @@ import okio.Source;
* ]}</pre>
* This code implements the parser for the above structure: <pre> {@code
*
* public List<Message> readJsonStream(InputStream in) throws IOException {
* JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8"));
* public List<Message> readJsonStream(Source source) throws IOException {
* JsonReader reader = new JsonReader(source);
* try {
* return readMessagesArray(reader);
* } finally {