Skip to content

Commit

Permalink
Fix two very minor Javadoc defects (#3)
Browse files Browse the repository at this point in the history
* `JsonFormat.JSON`: Removed weird half-sentence and unmatched </a> tag
at the end of the Javadoc, also removed parentheses around the RFC link.
* `JsonReader`: Fixed indentation in example JSON5 snippet (sadly, I
couldn't figure out a way to have a proper `*/` sequence in a block
comment).
  • Loading branch information
Leo40Git authored Feb 1, 2024
1 parent b05ac3a commit b8f9fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions json/src/main/java/org/quiltmc/parsers/json/JsonFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
*/
public enum JsonFormat {
/**
* The standard, (<a href="http://www.ietf.org/rfc/rfc7159.txt">RFC 7159</a>) JSON.
* JSON5</a> or strict JSON
* The standard, <a href="http://www.ietf.org/rfc/rfc7159.txt">RFC 7159</a> JSON.
*/
JSON,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
* {
* /*
* * Look mom, block comments!
* *\/
* *\/
* "id": 912345678902,
* "text": "@json_newb just use JsonReader!",
* "geo": [-Infinity, NaN], // wow, broken floating point types!
Expand Down

0 comments on commit b8f9fce

Please sign in to comment.