aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-12-18 19:15:52 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-12-18 19:15:52 +0100
commita66b73dc1b740029bb3625299811cef71a038d52 (patch)
tree14044342015692987ad15dc41968c4c57ae96176 /src/main/java
parente86c74091c5883f69645d743ee649d2ce373f428 (diff)
Javadoc: Fix Object[] references.
Change-Id: Ib9bad54f02356b53c5a2d3596fc2b8429023e828
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/mulk/jgvariant/core/Decoder.java2
-rw-r--r--src/main/java/eu/mulk/jgvariant/core/Variant.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/eu/mulk/jgvariant/core/Decoder.java b/src/main/java/eu/mulk/jgvariant/core/Decoder.java
index 461b9fa..d2f2403 100644
--- a/src/main/java/eu/mulk/jgvariant/core/Decoder.java
+++ b/src/main/java/eu/mulk/jgvariant/core/Decoder.java
@@ -164,7 +164,7 @@ public abstract class Decoder<T> {
* <li>{@link String}
* <li>{@link Optional} (a GVariant {@code Maybe} type)
* <li>{@link List} (a GVariant array)
- * <li>{@link Object[]} (a GVariant structure)
+ * <li>{@code Object[]} (a GVariant structure)
* <li>{@link Variant} (a nested variant)
* </ul>
*
diff --git a/src/main/java/eu/mulk/jgvariant/core/Variant.java b/src/main/java/eu/mulk/jgvariant/core/Variant.java
index 1438d9d..d1c1049 100644
--- a/src/main/java/eu/mulk/jgvariant/core/Variant.java
+++ b/src/main/java/eu/mulk/jgvariant/core/Variant.java
@@ -17,14 +17,14 @@ import org.apiguardian.api.API.Status;
* <li>{@link String}
* <li>{@link java.util.Optional} (a GVariant {@code Maybe} type)
* <li>{@link java.util.List} (a GVariant array)
- * <li>{@link Object[]} (a GVariant structure)
+ * <li>{@code Object[]} (a GVariant structure)
* <li>{@link Variant} (a nested variant)
* </ul>
*
* @param signature the signature describing the type of the value.
* @param value the value itself; one of {@link Boolean}, {@link Byte}, {@link Short}, {@link
* Integer}, {@link Long}, {@link String}, {@link java.util.Optional}, {@link java.util.List},
- * {@link Object[]}, {@link Variant}.
+ * {@code Object[]}, {@link Variant}.
*/
@API(status = Status.EXPERIMENTAL)
public record Variant(Signature signature, Object value) {}