From 289123f77aa8c08aa729d18d49b6e0a48bdeee27 Mon Sep 17 00:00:00 2001 From: Marten Gajda Date: Mon, 25 Dec 2023 20:10:19 +0100 Subject: [PATCH] Fix javadoc, fixes #151 --- .../org/saynotobugs/confidence/quality/object/InstanceOf.java | 2 +- .../java/org/saynotobugs/confidence/json/quality/ArrayThat.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/confidence-core/src/main/java/org/saynotobugs/confidence/quality/object/InstanceOf.java b/confidence-core/src/main/java/org/saynotobugs/confidence/quality/object/InstanceOf.java index 3a21e678..211667ef 100644 --- a/confidence-core/src/main/java/org/saynotobugs/confidence/quality/object/InstanceOf.java +++ b/confidence-core/src/main/java/org/saynotobugs/confidence/quality/object/InstanceOf.java @@ -38,7 +38,7 @@ public final class InstanceOf extends QualityComposition *

* This provides a type-safe way to downcast and apply a {@link Quality} of a subtype. * - *

Example

+ *

Example

*
{@code
      * assertThat(someObject,
      *     is(instanceOf(Number.class, that(has(Number::intValue, equalTo(1))))));
diff --git a/confidence-json/src/main/java/org/saynotobugs/confidence/json/quality/ArrayThat.java b/confidence-json/src/main/java/org/saynotobugs/confidence/json/quality/ArrayThat.java
index d92be9fc..d3d305a1 100644
--- a/confidence-json/src/main/java/org/saynotobugs/confidence/json/quality/ArrayThat.java
+++ b/confidence-json/src/main/java/org/saynotobugs/confidence/json/quality/ArrayThat.java
@@ -31,7 +31,7 @@
 
 /**
  * {@link Quality} of a JSON array that delegates to a normal {@link Iterable} {@link Quality}.
- * 

Example

+ *

Example

*
  * arrayThat(contains(string(xyz)))
  *