rmuir commented on issue #12012: URL: https://github.com/apache/lucene/issues/12012#issuecomment-1347398451
Here's my patch which seems to work and do the right thing. I'll benchmark it. But also I don't know what i am doing with gradle: ``` diff --git a/gradle/validation/spotless.gradle b/gradle/validation/spotless.gradle index 685bf0cec5b..9b6bc553fc7 100644 --- a/gradle/validation/spotless.gradle +++ b/gradle/validation/spotless.gradle @@ -91,6 +91,7 @@ configure(project(":lucene").subprojects) { prj -> doFirst { project.mkdir("${buildDir}/spotless/spotlessJava") } + mustRunAfter tasks.withType(JavaCompile) } } ``` The error is greatly improved: ``` > Task :lucene:facet:ecjLintTest FAILED ---------- 1. ERROR in /home/rmuir/workspace/lucene/lucene/facet/src/test/org/apache/lucene/facet/SlowDirectory.java (at line 30) public class SlowDirectory extends FilterDirectory { X ^ Syntax error on token "X", delete this token ---------- 1 problem (1 error) ``` -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org