Skip to content

Improvement: builder for Mapper/Decorator/GeneratedType#1649

Merged
sjaakd merged 1 commit into
mapstruct:masterfrom
sjaakd:generated_type_improvement
Nov 18, 2018
Merged

Improvement: builder for Mapper/Decorator/GeneratedType#1649
sjaakd merged 1 commit into
mapstruct:masterfrom
sjaakd:generated_type_improvement

Conversation

@sjaakd

@sjaakd sjaakd commented Nov 12, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@sjaakd sjaakd requested a review from filiphr November 12, 2018 16:12

@filiphr filiphr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

I have only one comment, but just out of curiosity nothing else. Feel free to merge it when you can

private Decorator decorator;

@SuppressWarnings( "checkstyle:parameternumber" )
private Mapper(TypeFactory typeFactory, String packageName, String name, String superClassName,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why move the constructor down?

@sjaakd

sjaakd commented Nov 17, 2018 via email

Copy link
Copy Markdown
Contributor Author

@filiphr

filiphr commented Nov 17, 2018

Copy link
Copy Markdown
Member

Convention? I thought according to jls..

It's fine, I was just confused, because on other places it is above the builders (I think)

@sjaakd sjaakd merged commit b651ad3 into mapstruct:master Nov 18, 2018
@sjaakd sjaakd deleted the generated_type_improvement branch November 18, 2018 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants