mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-24 15:35:34 -04:00
Remove #initialize method from model classes
... in favor of initialization via constructors. It's fine to break out a separate private initialization method, but it appears to be unnecessary to formally model an initialization lifecycle distinct from construction.
This commit is contained in:
parent
c7e98df174
commit
feb891b0dc
22 changed files with 23 additions and 151 deletions
|
@ -51,7 +51,6 @@ public class CreateOfferPMTest {
|
|||
model = new CreateOfferModel(null, null, null, null, null, null, formatter);
|
||||
|
||||
presenter = new CreateOfferPM(model, new FiatValidator(null), new BtcValidator(), formatter);
|
||||
presenter.initialize();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue