Improve satisfies list assertion javadoc
@@ -151,11 +151,10 @@ public abstract class AbstractListAssert<SELF extends AbstractListAssert<SELF, A
}
/**
- * Verifies that the actual @{code List} contains the value at given {@code Index} that satisfy given {@code requirements}.
+ * Verifies that the actual {@link List} contains a value at given {@code Index} that satisfies the given {@code requirements}.
* <p>
* Example:
- * <pre><code class='java'>
- * List&lt;TolkienCharacter&gt; ringBearers = newArrayList(frodo, elrond, gandalf);
+ * <pre><code class='java'> List&lt;TolkienCharacter&gt; ringBearers = newArrayList(frodo, elrond, gandalf);
*
* // this assertion will pass
* assertThat(ringBearers).satisfies(
@@ -170,8 +169,7 @@ public abstract class AbstractListAssert<SELF extends AbstractListAssert<SELF, A
* ringBearer -&gt; {
* assertThat(ringBearer.getRace()).isEqualTo(ELF);
* },
- * atIndex(0);
- * </code></pre>
+ * atIndex(0);</code></pre>
*
* @param requirements the given requirements for the element at {@code Index} to meet.
* @param index the index where the object should be stored in the actual {@code List}.
