mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59: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>
|
* ]}</pre>
|
||||||
* This code implements the parser for the above structure: <pre> {@code
|
* This code implements the parser for the above structure: <pre> {@code
|
||||||
*
|
*
|
||||||
* public List<Message> readJsonStream(InputStream in) throws IOException {
|
* public List<Message> readJsonStream(Source source) throws IOException {
|
||||||
* JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8"));
|
* JsonReader reader = new JsonReader(source);
|
||||||
* try {
|
* try {
|
||||||
* return readMessagesArray(reader);
|
* return readMessagesArray(reader);
|
||||||
* } finally {
|
* } finally {
|
||||||
|
Reference in New Issue
Block a user