소스 검색

ZOOKEEPER-4494: Fix error message format

cc maoling eolivelli

Author: tison <wander4096@gmail.com>

Reviewers: maoling <maoling@apache.org>

Closes #1838 from tisonkun/patch-2
tison 3 년 전
부모
커밋
a160981e37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zookeeper-server/src/main/java/org/apache/zookeeper/server/util/SerializeUtils.java

+ 1 - 1
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 {