示例#1
0
  private void indent(final StringBuffer s, final int level) {
    for (int indent = 0; indent < level; indent++) {
      s.append(DebugUtils.indentString(4) + "|");
    }

    s.append(DebugUtils.indentString(4) + "+--");
  }
示例#2
0
 private static void graphIndent(final int level, final DebugBuilder debugBuilder) {
   for (int indent = 0; indent < level; indent++) {
     debugBuilder.append(DebugUtils.indentString(4) + "|");
   }
   debugBuilder.append(DebugUtils.indentString(4) + "+--");
 }