dweiss commented on code in PR #17009:
URL: https://github.com/apache/lucene/pull/17009#discussion_r4596631880
##########
build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/documentation/DocumentationConfigPlugin.java:
##########
@@ -130,17 +129,14 @@ private void configureDocumentationProject(Project
project) {
task.dependsOn(
project
.getProviders()
- .provider(
- () ->
-
project.project(":lucene").getSubprojects().stream()
- .flatMap(
- prj ->
- prj
- .getTasks()
- .matching(
- t ->
t.getName().equals("renderSiteJavadoc"))
- .stream())
- .toList()));
+ .provider(() ->
+ project.project(":lucene").getSubprojects().stream()
+ .flatMap(prj ->
+ prj
Review Comment:
It is excessive nesting that typically throws it off (because of relatively
short max line length). This is actually configurable in latest versions (!)
but wouldn't touch it as it'll result in way, way more changes over the
codebase.
<img width="1350" height="234" alt="image"
src="https://github.com/user-attachments/assets/dac6a322-1845-45f1-88ea-c6284dcfc7be"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]