This is an automated email from the ASF dual-hosted git repository.

JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 1bf81571c9 [core] Optimize String format in CacheManager (#7856)
1bf81571c9 is described below

commit 1bf81571c9d06e464205e3d9baaf22e869ffb632
Author: Jingsong Lee <[email protected]>
AuthorDate: Tue May 19 10:35:21 2026 +0800

    [core] Optimize String format in CacheManager (#7856)
---
 .../src/main/java/org/apache/paimon/io/cache/CacheManager.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/paimon-common/src/main/java/org/apache/paimon/io/cache/CacheManager.java 
b/paimon-common/src/main/java/org/apache/paimon/io/cache/CacheManager.java
index f85354aa2b..c9c253c302 100644
--- a/paimon-common/src/main/java/org/apache/paimon/io/cache/CacheManager.java
+++ b/paimon-common/src/main/java/org/apache/paimon/io/cache/CacheManager.java
@@ -98,7 +98,7 @@ public class CacheManager {
                                 throw new RuntimeException(e);
                             }
                         });
-        return checkNotNull(value, String.format("Cache result for key(%s) is 
null", key)).segment;
+        return checkNotNull(value, "Cache result for key(%s) is null", 
key).segment;
     }
 
     public void invalidPage(CacheKey key) {

Reply via email to