use latest assertj core and fix warnings
This commit is contained in:
parent
29992142b0
commit
0090b542d3
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue