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

Generics improvement. #2

Open
wants to merge 1 commit into
base: 6-Resttemplate-config
Choose a base branch
from

Conversation

avvark
Copy link

@avvark avvark commented Sep 4, 2023

Hi John,

I'm following your Spring 6 course on Udemy, and I really like it.
Great job. I was following lesson 196 from section 19, and I think I saw an improvement regarding the BeerDTOPageImpl.
In the lesson you used the fully qualified name of the BeerDTO class to make it work.
But I believe that isn't necessary, but because of the Generic right after "public class BeerDTOPageImpl<BeerDTO", BeerDTO was seen as a Generic type identifier (or what you may call it). If you remove that one, then you can use PageImpl instead of the fully qualified name.

Kind regards,
Alexander van Vark

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