From b8f9fce0ed24b09fc27703f343d2ee3cd89626de Mon Sep 17 00:00:00 2001
From: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
Date: Thu, 1 Feb 2024 07:05:41 +0200
Subject: [PATCH] Fix two very minor Javadoc defects (#3)
* `JsonFormat.JSON`: Removed weird half-sentence and unmatched 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).
---
json/src/main/java/org/quiltmc/parsers/json/JsonFormat.java | 3 +--
json/src/main/java/org/quiltmc/parsers/json/JsonReader.java | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/json/src/main/java/org/quiltmc/parsers/json/JsonFormat.java b/json/src/main/java/org/quiltmc/parsers/json/JsonFormat.java
index aee06dc..8413ff2 100644
--- a/json/src/main/java/org/quiltmc/parsers/json/JsonFormat.java
+++ b/json/src/main/java/org/quiltmc/parsers/json/JsonFormat.java
@@ -21,8 +21,7 @@
*/
public enum JsonFormat {
/**
- * The standard, (RFC 7159) JSON.
- * JSON5 or strict JSON
+ * The standard, RFC 7159 JSON.
*/
JSON,
/**
diff --git a/json/src/main/java/org/quiltmc/parsers/json/JsonReader.java b/json/src/main/java/org/quiltmc/parsers/json/JsonReader.java
index 2b1b358..6a2cba9 100644
--- a/json/src/main/java/org/quiltmc/parsers/json/JsonReader.java
+++ b/json/src/main/java/org/quiltmc/parsers/json/JsonReader.java
@@ -86,7 +86,7 @@
* {
* /*
* * Look mom, block comments!
- * *\/
+ * *\/
* "id": 912345678902,
* "text": "@json_newb just use JsonReader!",
* "geo": [-Infinity, NaN], // wow, broken floating point types!