mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
30.45.2007 742576640efa3350bb5433816e0cff2b6dab6281
opends/src/server/org/opends/server/util/table/TabSeparatedTablePrinter.java
@@ -48,29 +48,22 @@
  /**
   * Table serializer implementation.
   */
  private static final class Serializer extends TableSerializer {
  private final class Serializer extends TableSerializer {
    // The current column being output.
    private int column = 0;
    // Indicates whether or not the headings should be output.
    private final boolean displayHeadings;
    // Counts the number of separators that should be output the next
    // time a non-empty cell is displayed. The tab separators are
    // not displayed immediately so that we can avoid displaying
    // unnecessary trailing separators.
    private int requiredSeparators = 0;
    // The output destination.
    private final PrintWriter writer;
    // Private constructor.
    private Serializer(PrintWriter writer, boolean displayHeadings) {
      this.writer = writer;
      this.displayHeadings = displayHeadings;
    private Serializer() {
      // No implementation required.
    }
@@ -214,7 +207,7 @@
   */
  @Override
  protected TableSerializer getSerializer() {
    return new Serializer(writer, displayHeadings);
    return new Serializer();
  }
}