Skip to content

Commit b2eccd8

Browse files
Fix warnings
1 parent 4f6d0c7 commit b2eccd8

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/main/java/org/assertj/core/api/AbstractObjectAssert.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ public AbstractListAssert<?, List<?>, Object, ObjectAssert<Object>> extracting(S
624624
* <p>
625625
* If the object under test is a {@link Map}, the {@code propertyOrField} parameter is used as a key to the map.
626626
* <p>
627-
* <p>
628627
* Nested fields/properties are supported, specifying "adress.street.number" is equivalent to:
629628
* <pre><code class='java'> // "adress.street.number" corresponding to pojo properties
630629
* actual.getAdress().getStreet().getNumber();</code></pre>

src/main/java/org/assertj/core/internal/Spliterators.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ void setFailures(Failures failures) {
8181
/**
8282
* Asserts the given <code>{@link Spliterator}</code> has the given characteristics.
8383
*
84+
* @param info contains information about the assertion.
8485
* @param actual the given {@code Spliterator}.
8586
* @param characteristics the expected characteristics.
8687
* @throws AssertionError if the actual {@code Spliterator} is {@code null}.
@@ -96,6 +97,7 @@ public void assertHasCharacteristics(AssertionInfo info, Spliterator<?> actual,
9697
/**
9798
* Asserts the given <code>{@link Spliterator}</code> has only the given characteristics and no else.
9899
*
100+
* @param info contains information about the assertion.
99101
* @param actual the given {@code Spliterator}.
100102
* @param characteristics the expected characteristics.
101103
* @throws AssertionError if the actual {@code Spliterator} is {@code null}.

src/test/java/org/assertj/core/api/BDDAssertions_then_Test.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ public void then_Spliterator() {
283283
then(spliterator).hasCharacteristics(Spliterator.SIZED);
284284
}
285285

286+
@SuppressWarnings("static-access")
286287
@Test
287288
public void and_then() {
288289
and.then(true).isNotEqualTo(false);

0 commit comments

Comments
 (0)