Skip to content

Commit

Permalink
meaningful generic name + get rid of unnecessary semicolon (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
epeee authored and joel-costigliola committed Mar 1, 2017
1 parent f38bb4d commit 8c4bdf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/assertj/core/api/WithAssertions.java
Expand Up @@ -563,7 +563,7 @@ default AbstractFileAssert<?> assertThat(final File actual) {
* @since 3.7.0
*/
@CheckReturnValue
default <T> AbstractFutureAssert<?, ? extends Future<? extends T>, T> assertThat(Future<T> actual) {
default <RESULT> AbstractFutureAssert<?, ? extends Future<? extends RESULT>, RESULT> assertThat(Future<RESULT> actual) {
return Assertions.assertThat(actual);
}

Expand Down
Expand Up @@ -32,7 +32,7 @@ public class AbstractAssert_isInstanceOfSatisfying_Test extends AbstractAssertBa
public ExpectedException thrown = none();

// init here to make it available in create_assertions()
private Jedi yoda = new Jedi("Yoda", "Green");;
private Jedi yoda = new Jedi("Yoda", "Green");
private Jedi luke = new Jedi("Luke Skywalker", "Green");
private Consumer<Jedi> jediRequirements;

Expand Down
Expand Up @@ -66,7 +66,7 @@ public void setUpOnce() {
fellowshipOfTheRing[5] = TolkienCharacter.of("Gimli", 139, DWARF);
fellowshipOfTheRing[6] = TolkienCharacter.of("Aragorn", 87, MAN);
fellowshipOfTheRing[7] = TolkienCharacter.of("Boromir", 37, MAN);
};
}

@Test
public void should_allow_assertions_on_property_values_extracted_from_given_iterable() {
Expand Down

0 comments on commit 8c4bdf4

Please sign in to comment.