-
Notifications
You must be signed in to change notification settings - Fork 41.1k
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 missing attributes to ServletRegistration annotation #45007
Add missing attributes to ServletRegistration annotation #45007
Conversation
829a9ba
to
59bbcf6
Compare
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
c46cb7d
to
12bf433
Compare
...ject/spring-boot/src/main/java/org/springframework/boot/web/servlet/ServletRegistration.java
Outdated
Show resolved
Hide resolved
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com> Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
there’s no built-in servletRegistrationBeans property or method in Spring Boot’s standard ServletRegistrationBean. for now I removed it. or maybe I understand issue incorrectly? |
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com> Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
Sorry, my mistake. There's no |
Signed-off-by: Dmytro Danilenkov <63580205+dmytrodanilenkov@users.noreply.github.com>
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com> Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com> Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
so changes done, please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @dmytrodanilenkov!
I've left some comments for your consideration.
Could you also take a look at the Checkstyle issues?
You can verify them using:
./gradlew checkstyleMain checkstyleTest
...-boot/src/main/java/org/springframework/boot/web/servlet/ServletContextInitializerBeans.java
Outdated
Show resolved
Hide resolved
.../src/test/java/org/springframework/boot/web/servlet/ServletContextInitializerBeansTests.java
Outdated
Show resolved
Hide resolved
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com> Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
Thanks, @dmytrodanilenkov
Could you please run Additionally, I've noticed some minor changes unrelated to your PR, such as removed blank lines. Could you please revert these? To verify your changes: |
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com> Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
…se properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com> Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
@nosan done |
See gh-45007 Signed-off-by: Dmytro Danilenkov <milgoff@gmail.com>
Thanks @dmytrodanilenkov ! And thanks @nosan for the review! |
Closes #45001