fix checkArgument

This commit is contained in:
Manfred Karrer 2014-11-25 02:34:01 +01:00 committed by Chris Beams
parent ed83cdbe49
commit 380e8baf58
No known key found for this signature in database
GPG key ID: 3D214F8F5BC5ED73

View file

@ -244,7 +244,7 @@ class CreateOfferDataModel implements Activatable, DataModel {
@SuppressWarnings("NullableProblems")
void setDirection(Direction direction) {
// direction can not be changed once it is initially set
checkArgument(this.direction == null);
checkArgument(direction == null);
this.direction = direction;
}