Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CDS in CSV #1956

Merged
merged 2 commits into from
Apr 25, 2019
Merged

Add support for CDS in CSV #1956

merged 2 commits into from
Apr 25, 2019

Conversation

jodastephen
Copy link
Member

Follow standard pattern of other asset classes

Follow standard pattern of other asset classes
Copy link
Contributor

@wjnicholson wjnicholson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One JavaDoc

row, PREMIUM_CURRENCY_FIELD, PREMIUM_AMOUNT_FIELD, PREMIUM_DIRECTION_FIELD);
AdjustableDate date = CsvLoaderUtils.parseAdjustableDate(
row, PREMIUM_DATE_FIELD, PREMIUM_DATE_CNV_FIELD, PREMIUM_DATE_CAL_FIELD);
return AdjustablePayment.of(amount, date);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Block lambdas back in fashion now? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They have occasional uses, and this demonstrates a use where the lambda is void and side-effecting.

Co-Authored-By: jodastephen <scolebourne@joda.org>
@jodastephen jodastephen merged commit 19ee4f5 into master Apr 25, 2019
@delete-merged-branch delete-merged-branch bot deleted the topic/cds-csv branch April 25, 2019 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants