mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-26 00:15:18 -04:00
add @Nullable/NotNull annotations, cleanup with intellij inspections
This commit is contained in:
parent
2def1f5971
commit
ebf2c559db
101 changed files with 2181 additions and 1613 deletions
|
@ -2,6 +2,7 @@ package io.bitsquare.btc;
|
|||
|
||||
import com.google.bitcoin.core.Transaction;
|
||||
import java.math.BigInteger;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
|
@ -12,7 +13,8 @@ public class BtcValidatorTest
|
|||
@Test
|
||||
public void testIsMinSpendableAmount()
|
||||
{
|
||||
BigInteger amount = null;
|
||||
@Nullable BigInteger amount = null;
|
||||
//noinspection ConstantConditions
|
||||
assertFalse("tx unfunded, pending", BtcValidator.isMinSpendableAmount(amount));
|
||||
|
||||
amount = BigInteger.ZERO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue