Skip to content

Additional CastleHeaders for more convenient initialization - #82

Merged
marysieek merged 1 commit into
castle:masterfrom
brycematheson1234:bryce-castleheaders
Oct 13, 2020
Merged

Additional CastleHeaders for more convenient initialization#82
marysieek merged 1 commit into
castle:masterfrom
brycematheson1234:bryce-castleheaders

Conversation

@brycematheson1234

Copy link
Copy Markdown
Contributor

IIUC if you have List<CastleHeader> and you want to transform this into CastleHeaders you must do:

List<CastleHeader> castleHeaderList = createListSomehow(...)
CastlehHeaders castleHeaders = new CastleHeaders()
castleHeaders.set(castleHeaderList)

It would be more convenient to be able to do:

List<CastleHeader> castleHeaderList = createListSomehow(...)
CastlehHeaders castleHeaders = new CastleHeaders(castleHeaderList)

@marysieek
marysieek self-requested a review October 13, 2020 09:27
@marysieek
marysieek merged commit 7b2a13f into castle:master Oct 13, 2020
@marysieek

Copy link
Copy Markdown

@brycematheson1234 thank you for the contribution! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants