mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
cbb59c155b
Since this map is final and every PaymentAccountPayload constructor initialises it to something nonnull, the @Nullable field annotation is redundant, so remove it. Further simplify the code by passing an empty map into the constructor directly from each subclass constructor, rather than mapping empties to nulls from each 'proto.getExcludeFromJsonDataMap()' result, then mapping nulls back to empties in the base constructor. This is safe, since getExcludeFromJsonDataMap() always returns a nonnull map. Finally, tidy the code slightly by replacing 'Charset.forName("UTF-8")' with StandardCharsets.UTF_8 in each PaymentAccountPayload subclass. |
||
---|---|---|
.. | ||
.tx | ||
src | ||
update_translations.sh |