mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Merge pull request #34 from square/jw/javadoc
Correct Javadoc code usage.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user