use latest assertj core and fix warnings

This commit is contained in:
Joel Costigliola 2014-08-12 23:15:26 +12:00
parent 29992142b0
commit 0090b542d3
3 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>1.6.0</version>
<version>1.6.1</version>
<scope>test</scope>
</dependency>
<dependency>

View File

@ -30,6 +30,6 @@ public class PotentialMvpCondition extends Condition<BasketBallPlayer> {
@Override
public boolean matches(BasketBallPlayer player) {
return player.getPointsPerGame() > 20 && (player.getAssistsPerGame() >= 8 || player.getReboundsPerGame() >= 8);
};
}
}

View File

@ -112,7 +112,7 @@ public class UsingConditionExamples extends AbstractAssertionsExamples {
@Override
public boolean matches(String actual) {
return jedis.contains(actual);
};
}
};
private final Condition<String> jediPower = jedi;
@ -123,7 +123,7 @@ public class UsingConditionExamples extends AbstractAssertionsExamples {
@Override
public boolean matches(String value) {
return siths.contains(value);
};
}
};
private final Condition<String> sithPower = new Condition<String>("sith power") {
@ -132,7 +132,7 @@ public class UsingConditionExamples extends AbstractAssertionsExamples {
@Override
public boolean matches(String value) {
return siths.contains(value);
};
}
};
}