mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-18 14:55:53 -04:00
Fix null check
This commit is contained in:
parent
58335f036e
commit
d562384f73
@ -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(direction == null);
|
||||
checkArgument(direction != null);
|
||||
this.direction = direction;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user