Issue #4305 Added default statements to 4 switch case statements #13532
Annotations
3 errors and 1 warning
|
task ':core:spotlessJavaCheck'#L1
Execution failed for task ':core:spotlessJavaCheck':
The following files had format violations:
src/main/java/org/apache/gravitino/storage/relational/service/SchemaMetaService.java
@@ -276,7 +276,7 @@
··········builder.withCatalogId(parentEntityId);
··········break;
········default:
-··········throw·new·IllegalArgumentException("Unsupported·namespace·level:·"·+·level);··········
+··········throw·new·IllegalArgumentException("Unsupported·namespace·level:·"·+·level);
······}
····}
··}
src/main/java/org/apache/gravitino/storage/relational/service/TableMetaService.java
@@ -227,7 +227,7 @@
··········builder.withSchemaId(parentEntityId);
··········break;
········default:
-··········throw·new·IllegalArgumentException("Unsupported·namespace·level:·"·+·level);····················
+··········throw·new·IllegalArgumentException("Unsupported·namespace·level:·"·+·level);
······}
····}
··}
src/main/java/org/apache/gravitino/storage/relational/service/TopicMetaService.java
@@ -172,7 +172,7 @@
··········builder.withSchemaId(parentEntityId);
··········break;
········default:
-··········throw·new·IllegalArgumentException("Unsupported·namespace·level:·"·+·level);··········
+··········throw·new·IllegalArgumentException("Unsupported·namespace·level:·"·+·level);
······}
····}
··}
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:68)
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(Execu
|
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "unit test report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
This job was cancelled
Loading