remove @Nullable/@NotNull annotations (too noisy and better use Optional/Either instead to avoid null pointer exc.)

This commit is contained in:
Manfred Karrer 2014-07-01 15:09:23 +02:00
parent d9410f91a0
commit 4f26d76746
88 changed files with 1539 additions and 1122 deletions

View file

@ -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;