bisq/core
Steven Barclay cbb59c155b
Remove redundant @Nullable from account payload excludeFromJsonDataMap
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.
2020-03-07 20:08:50 +08:00
..
.tx Merge core repository at 4597613 2018-09-05 10:48:22 +02:00
src Remove redundant @Nullable from account payload excludeFromJsonDataMap 2020-03-07 20:08:50 +08:00
update_translations.sh Remove Greek from supported core languages 2020-01-08 09:04:17 +01:00