Skip to content

feat: exhaustive copy on write visitors #490

feat: exhaustive copy on write visitors

feat: exhaustive copy on write visitors #490

Triggered via pull request November 7, 2023 16:13
Status Failure
Total duration 2m 11s
Artifacts

pr.yml

on: pull_request
Build and Test Java
1m 58s
Build and Test Java
Check editorconfig
7s
Check editorconfig
Lint commits for semantic-release
11s
Lint commits for semantic-release
Security validation
4s
Security validation
Dry-run release
14s
Dry-run release
Matrix: Build Isthmus Native Image
Fit to window
Zoom out
Zoom in

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.