From a66b73dc1b740029bb3625299811cef71a038d52 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 18 Dec 2021 19:15:52 +0100 Subject: Javadoc: Fix Object[] references. Change-Id: Ib9bad54f02356b53c5a2d3596fc2b8429023e828 --- src/main/java/eu/mulk/jgvariant/core/Decoder.java | 2 +- src/main/java/eu/mulk/jgvariant/core/Variant.java | 4 ++-- 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 { *
  • {@link String} *
  • {@link Optional} (a GVariant {@code Maybe} type) *
  • {@link List} (a GVariant array) - *
  • {@link Object[]} (a GVariant structure) + *
  • {@code Object[]} (a GVariant structure) *
  • {@link Variant} (a nested variant) * * 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; *
  • {@link String} *
  • {@link java.util.Optional} (a GVariant {@code Maybe} type) *
  • {@link java.util.List} (a GVariant array) - *
  • {@link Object[]} (a GVariant structure) + *
  • {@code Object[]} (a GVariant structure) *
  • {@link Variant} (a nested variant) * * * @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) {} -- cgit v1.2.3