From 6d251efa04a63c01d880fbf59eaf349b8d1d808f Mon Sep 17 00:00:00 2001 From: Wellington Ramos Chevreuil Date: Thu, 5 Dec 2019 10:29:36 +0000 Subject: [PATCH] HBASE-23367 Remove unused constructor from WALPrettyPrinter (#901) Signed-off-by: Lijin Bin Signed-off-by: Xu Cang --- .../hadoop/hbase/wal/WALPrettyPrinter.java | 45 ------------------- 1 file changed, 45 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java index b49a4518e0c..763cdf9545a 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java @@ -106,51 +106,6 @@ public class WALPrettyPrinter { out = System.out; } - /** - * Fully specified constructor. - * - * @param outputValues - * when true, enables output of values along with other log - * information - * @param outputJSON - * when true, enables output in JSON format rather than a - * "pretty string" - * @param sequence - * when nonnegative, serves as a filter; only log entries with this - * sequence id will be printed - * @param table - * when non null, serves as a filter. only entries corresponding to this - * table will be printed. - * @param region - * when not null, serves as a filter; only log entries from this - * region will be printed - * @param row - * when not null, serves as a filter; only log entries from this row - * will be printed - * @param persistentOutput - * keeps a single list running for multiple files. if enabled, the - * endPersistentOutput() method must be used! - * @param out - * Specifies an alternative to stdout for the destination of this - * PrettyPrinter's output. - */ - public WALPrettyPrinter(boolean outputValues, boolean outputJSON, - long sequence, String table, String region, String row, boolean persistentOutput, - PrintStream out) { - this.outputValues = outputValues; - this.outputJSON = outputJSON; - this.sequence = sequence; - this.table = table; - this.region = region; - this.row = row; - this.persistentOutput = persistentOutput; - if (persistentOutput) { - beginPersistentOutput(); - } - this.out = out; - this.firstTxn = true; - } - /** * turns value output on */