diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index e0706cea23f..b992d267bbd 100644 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -79,6 +79,9 @@ See https://github.com/spring-projects/spring-security/tree/main#building-from-s The wiki pages https://github.com/spring-projects/spring-framework/wiki/Code-Style[Code Style] and https://github.com/spring-projects/spring-framework/wiki/IntelliJ-IDEA-Editor-Settings[IntelliJ IDEA Editor Settings] define the source file coding standards we use along with some IDEA editor settings we customize. +Additionally, since Streams are https://github.com/spring-projects/spring-security/issues/7154[much slower] than `for` loops, please use them judiciously. +The team may ask you to change to a `for` loop if the given code is along a hot path. + To format the code as well as check the style, run `./gradlew format && ./gradlew check`. [[submit-a-pull-request]]