-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Replace lambda with method reference #40974
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
Conversation
...ure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java
Outdated
Show resolved
Hide resolved
...pring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java
Outdated
Show resolved
Hide resolved
...boot-project/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiPropertySource.java
Outdated
Show resolved
Hide resolved
...ect/spring-boot/src/main/java/org/springframework/boot/context/ApplicationPidFileWriter.java
Outdated
Show resolved
Hide resolved
...ect/spring-boot/src/main/java/org/springframework/boot/context/ApplicationPidFileWriter.java
Outdated
Show resolved
Hide resolved
When we merge this I think we should convert it into distinct commits for the method refs vs other stuff. |
In this case, this PR would contain the method reference, and I would create a new one for the other changes, thanks. |
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 for the updates, @asashour. I just noticed one other change that I think would improve things a little. Please see the comments for details.
...moke-test-web-secure/src/test/java/smoketest/web/secure/SampleWebSecureApplicationTests.java
Outdated
Show resolved
Hide resolved
...-web-secure-jdbc/src/main/java/smoketest/web/secure/jdbc/SampleWebSecureJdbcApplication.java
Outdated
Show resolved
Hide resolved
...ecure-custom/src/main/java/smoketest/web/secure/custom/SampleWebSecureCustomApplication.java
Outdated
Show resolved
Hide resolved
...method-security/src/main/java/smoketest/security/method/SampleMethodSecurityApplication.java
Outdated
Show resolved
Hide resolved
...method-security/src/main/java/smoketest/security/method/SampleMethodSecurityApplication.java
Outdated
Show resolved
Hide resolved
...oke-tests/spring-boot-smoke-test-graphql/src/main/java/smoketest/graphql/SecurityConfig.java
Outdated
Show resolved
Hide resolved
...e-test-actuator/src/test/java/smoketest/actuator/ShutdownSampleActuatorApplicationTests.java
Outdated
Show resolved
Hide resolved
...ramework/boot/docs/data/sql/h2webconsole/springsecurity/DevProfileSecurityConfiguration.java
Outdated
Show resolved
Hide resolved
...ava/org/springframework/boot/devtools/autoconfigure/RemoteDevtoolsSecurityConfiguration.java
Outdated
Show resolved
Hide resolved
...amework/boot/autoconfigure/graphql/security/GraphQlWebMvcSecurityAutoConfigurationTests.java
Outdated
Show resolved
Hide resolved
If I may say something, there is an error for some time that |
Thanks @asashour |
This PR replaces lambda with method reference whenever possible.