mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-28 16:47:25 -04:00
Fix null check
This commit is contained in:
parent
58335f036e
commit
d562384f73
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class CreateOfferDataModel implements Activatable, DataModel {
|
||||||
@SuppressWarnings("NullableProblems")
|
@SuppressWarnings("NullableProblems")
|
||||||
void setDirection(Direction direction) {
|
void setDirection(Direction direction) {
|
||||||
// direction can not be changed once it is initially set
|
// direction can not be changed once it is initially set
|
||||||
checkArgument(direction == null);
|
checkArgument(direction != null);
|
||||||
this.direction = direction;
|
this.direction = direction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue