-
Notifications
You must be signed in to change notification settings - Fork 1.1k
closer to jdk-17 changes #1074
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
closer to jdk-17 changes #1074
Conversation
pom.xml
Outdated
| <plugin> | ||
| <groupId>io.spring.javaformat</groupId> | ||
| <artifactId>spring-javaformat-maven-plugin</artifactId> | ||
| <!-- Remove version when : https://github.com/spring-cloud/spring-cloud-build/pull/235 is integrated and released --> |
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.
I will take care of this one also, when it is fixed over there
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.
Let me know when the PR is ready and we can do this all at once...or you can separate this change out into a separate PR
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.
Right, this is ready. Let me know when you close and release that one, and Ill integrate it in after after that. I hope I understood you correctly
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.
@ryanjbaxter build has passed over there, FYI
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.
Its merged, the build should only take a few minutes before snapshots are published
| List<MapPropertySource> list = source.getPropertySources().stream() | ||
| .filter(p -> p instanceof MapPropertySource).map(x -> (MapPropertySource) x).toList(); | ||
| result.addAll(list); | ||
| source.getPropertySources().forEach(x -> { |
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.
this is so much easier to read, I am really sorry it did not occur to me when I was here in this code path before
| <suppress files=".*ConfigurationWatcherApplication\.java" checks="HideUtilityClassConstructor"/> | ||
| <suppress files=".*DiscoveryServerApplication\.java" checks="HideUtilityClassConstructor"/> | ||
| <suppress files=".*KubernetesConfigServerApplication\.java" checks="HideUtilityClassConstructor"/> | ||
| <suppress files=".*NormalizedSource\.java" checks="WhitespaceAfter" /> |
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.
if we upgrade formatter plugin, we do not require this one anymore
|
@ryanjbaxter let's see if I get lucky :) one more to look at please? :) |
|
@ryanjbaxter ready. |
No description provided.