Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-costigliola committed Oct 23, 2019
1 parent 4f6d0c7 commit b2eccd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,6 @@ public AbstractListAssert<?, List<?>, Object, ObjectAssert<Object>> extracting(S
* <p>
* If the object under test is a {@link Map}, the {@code propertyOrField} parameter is used as a key to the map.
* <p>
* <p>
* Nested fields/properties are supported, specifying "adress.street.number" is equivalent to:
* <pre><code class='java'> // "adress.street.number" corresponding to pojo properties
* actual.getAdress().getStreet().getNumber();</code></pre>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/assertj/core/internal/Spliterators.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ void setFailures(Failures failures) {
/**
* Asserts the given <code>{@link Spliterator}</code> has the given characteristics.
*
* @param info contains information about the assertion.
* @param actual the given {@code Spliterator}.
* @param characteristics the expected characteristics.
* @throws AssertionError if the actual {@code Spliterator} is {@code null}.
Expand All @@ -96,6 +97,7 @@ public void assertHasCharacteristics(AssertionInfo info, Spliterator<?> actual,
/**
* Asserts the given <code>{@link Spliterator}</code> has only the given characteristics and no else.
*
* @param info contains information about the assertion.
* @param actual the given {@code Spliterator}.
* @param characteristics the expected characteristics.
* @throws AssertionError if the actual {@code Spliterator} is {@code null}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ public void then_Spliterator() {
then(spliterator).hasCharacteristics(Spliterator.SIZED);
}

@SuppressWarnings("static-access")
@Test
public void and_then() {
and.then(true).isNotEqualTo(false);
Expand Down

0 comments on commit b2eccd8

Please sign in to comment.