This is an automated email from the ASF dual-hosted git repository.
junrui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 2dd5f97282d [hotfix][runtime] Remove the redundant 'format' calling.
2dd5f97282d is described below
commit 2dd5f97282d8ed22de5f924c830bc1814760c061
Author: Roc Marshal <[email protected]>
AuthorDate: Thu Apr 17 11:06:07 2025 +0800
[hotfix][runtime] Remove the redundant 'format' calling.
---
.../org/apache/flink/runtime/entrypoint/ClusterEntrypointUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypointUtils.java
b/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypointUtils.java
index a09ae06bdd9..bb1b1cab1ff 100644
---
a/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypointUtils.java
+++
b/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypointUtils.java
@@ -118,9 +118,9 @@ public final class ClusterEntrypointUtils {
4 * Hardware.getNumberCPUCores());
Preconditions.checkArgument(
poolSize > 0,
- String.format(
- "Illegal pool size (%s) of io-executor, please
re-configure '%s'.",
- poolSize,
ClusterOptions.CLUSTER_IO_EXECUTOR_POOL_SIZE.key()));
+ "Illegal pool size (%s) of io-executor, please re-configure
'%s'.",
+ poolSize,
+ ClusterOptions.CLUSTER_IO_EXECUTOR_POOL_SIZE.key());
return poolSize;
}