mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-20 10:12:19 +01:00
PaymentSessionTest: make two fields final
This commit is contained in:
parent
9156dbef36
commit
caa057e409
@ -60,7 +60,7 @@ public class PaymentSessionTest {
|
||||
private ECKey serverKey;
|
||||
private Transaction tx;
|
||||
private TransactionOutput outputToMe;
|
||||
private Coin amount = COIN;
|
||||
private final Coin amount = COIN;
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
@ -217,7 +217,7 @@ public class PaymentSessionTest {
|
||||
}
|
||||
|
||||
private static class MockPaymentSession extends PaymentSession {
|
||||
private ArrayList<PaymentLogItem> paymentLog = new ArrayList<>();
|
||||
private final ArrayList<PaymentLogItem> paymentLog = new ArrayList<>();
|
||||
|
||||
public MockPaymentSession(Protos.PaymentRequest request) throws PaymentProtocolException {
|
||||
super(request);
|
||||
|
Loading…
Reference in New Issue
Block a user