[#4209] chore replace hardcoded value with std definition #5034
access-control-integration-test.yml
on: pull_request
changes
4s
Matrix: access-control-IT
Annotations
2 errors and 2 warnings
access-control-IT (linux/amd64, 17):
task ':server-common:spotlessJavaCheck'#L1
Execution failed for task ':server-common:spotlessJavaCheck':
The following files had format violations:
src/main/java/org/apache/gravitino/server/authentication/KerberosServerUtils.java
@@ -16,12 +16,10 @@
import·java.io.File;
import·java.io.IOException;
-import·java.io.UnsupportedEncodingException;
import·java.lang.reflect.InvocationTargetException;
import·java.net.InetAddress;
import·java.net.UnknownHostException;
import·java.nio.ByteBuffer;
-import·java.nio.charset.IllegalCharsetNameException;
import·java.nio.charset.StandardCharsets;
import·java.util.ArrayList;
import·java.util.HashSet;
@@ -354,7 +352,8 @@
····}
····String·getAsString()·{
-········return·new·String(bb.array(),·bb.arrayOffset()·+·bb.position(),·bb.remaining(),·StandardCharsets.UTF_8);
+······return·new·String(
+··········bb.array(),·bb.arrayOffset()·+·bb.position(),·bb.remaining(),·StandardCharsets.UTF_8);
····}
····@OverRide
Run './gradlew :server-common: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(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)
|
access-control-IT (linux/amd64, 17)
Process completed with exit code 1.
|
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
access-control-IT (linux/amd64, 17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|