mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 03:36:24 -04:00
remove @Nullable/@NotNull annotations (too noisy and better use Optional/Either instead to avoid null pointer exc.)
This commit is contained in:
parent
d9410f91a0
commit
4f26d76746
88 changed files with 1539 additions and 1122 deletions
|
@ -7,7 +7,6 @@ import io.bitsquare.user.Arbitrator;
|
|||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.*;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class Offer implements Serializable
|
||||
{
|
||||
|
@ -18,7 +17,7 @@ public class Offer implements Serializable
|
|||
private final Currency currency;
|
||||
|
||||
private final String id;
|
||||
@NotNull
|
||||
|
||||
private final Date creationDate;
|
||||
|
||||
private final double price;
|
||||
|
@ -173,7 +172,7 @@ public class Offer implements Serializable
|
|||
return bankAccountUID;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
|
@ -196,7 +195,7 @@ public class Offer implements Serializable
|
|||
'}';
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
public Date getCreationDate()
|
||||
{
|
||||
return creationDate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue