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

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


The following commit(s) were added to refs/heads/master by this push:
     new a160981  ZOOKEEPER-4494: Fix error message format
a160981 is described below

commit a160981e37d2907717284ec9f6eab5e17e8aecfa
Author: tison <[email protected]>
AuthorDate: Mon Mar 28 10:34:06 2022 +0800

    ZOOKEEPER-4494: Fix error message format
    
    cc maoling eolivelli
    
    Author: tison <[email protected]>
    
    Reviewers: maoling <[email protected]>
    
    Closes #1838 from tisonkun/patch-2
---
 .../src/main/java/org/apache/zookeeper/server/util/SerializeUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/util/SerializeUtils.java
 
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/util/SerializeUtils.java
index fcc5c8f..464621e 100644
--- 
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/util/SerializeUtils.java
+++ 
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/util/SerializeUtils.java
@@ -101,7 +101,7 @@ public class SerializeUtils {
             txn = new MultiTxn();
             break;
         default:
-            throw new IOException("Unsupported Txn with type=%d" + 
hdr.getType());
+            throw new IOException("Unsupported Txn with type=" + 
hdr.getType());
         }
         if (txn != null) {
             try {

Reply via email to