From 43a6088bb683ce98d14c6c29e14f1520d942a17e Mon Sep 17 00:00:00 2001 From: Nezih Yigitbasi Date: Thu, 4 Feb 2016 11:57:44 -0800 Subject: [PATCH] Fix args passed to string format calls --- .../java/org/apache/parquet/hadoop/DirectCodecFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java index bb711daa29..d90ab51093 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java +++ b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java @@ -389,7 +389,7 @@ public Object makeObject() throws Exception { decompressorPool.returnObject(decom); } else { if (Log.DEBUG) { - LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "decompressor" + codec.getClass().getName())); + LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "decompressor", codec.getClass().getName())); } } @@ -409,7 +409,7 @@ public Object makeObject() throws Exception { } else { supportDirectDecompressor = false; if (Log.DEBUG) { - LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "compressor" + codec.getClass().getName())); + LOG.debug(String.format(BYTE_BUF_IMPL_NOT_FOUND_MSG, "compressor", codec.getClass().getName())); } }