feat: exhaustive copy on write visitors #490
pr.yml
on: pull_request
Build and Test Java
1m 58s
Check editorconfig
7s
Lint commits for semantic-release
11s
Security validation
4s
Dry-run release
14s
Matrix: Build Isthmus Native Image
Annotations
2 errors
Build and Test Java:
task ':core:spotlessJavaCheck'#L1
Execution failed for task ':core:spotlessJavaCheck':
The following files had format violations:
src/main/java/io/substrait/relation/RelCopyOnWriteVisitor.java
@@ -26,7 +26,8 @@
····this.expressionCopyOnWriteVisitor·=·new·ExpressionCopyOnWriteVisitor<>(this);
··}
-··public·RelCopyOnWriteVisitor(ExpressionCopyOnWriteVisitor<EXCEPTION>·expressionCopyOnWriteVisitor)·{
+··public·RelCopyOnWriteVisitor(
+······ExpressionCopyOnWriteVisitor<EXCEPTION>·expressionCopyOnWriteVisitor)·{
····this.expressionCopyOnWriteVisitor·=·expressionCopyOnWriteVisitor;
··}
@@ -337,7 +338,8 @@
········funcArgs,
········arg·->·{
··········if·(arg·instanceof·Expression·expr)·{
-············return·expr.accept(getExpressionCopyOnWriteVisitor()).flatMap(Optional::<FunctionArg>of);
+············return·expr.accept(getExpressionCopyOnWriteVisitor())
+················.flatMap(Optional::<FunctionArg>of);
··········}·else·{
············return·Optional.empty();
··········}
Run './gradlew :core:spotlessApply' to fix these violations.
at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:111)
at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:53)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:248)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:233)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:216)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:199)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at
|
Build and Test Java
Process completed with exit code 1.
|