JavaMoney / jsr354-api

JSR 354 - Money and Currency API
http://javamoney.org
Apache License 2.0
357 stars 79 forks source link

Use collection initialization constructor #111

Closed marschall closed 5 years ago

marschall commented 5 years ago

We have several cases where we use a Collection constructor followed by and .addAll(). This code can be simplified by calling a collection initialization constructor.

This also fixes one of your @SuppressWarnings users.


This change is Reviewable

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.04%) to 76.856% when pulling e156312ab88ae9c9d4a7b284bbe2b85e248602fe on marschall:collection-initialization-constructor into 343b4713630e9563bc5f8148480a05c572187d94 on JavaMoney:master.