Here you can find the source of indent(final StringBuilder s, final int depth)
private static void indent(final StringBuilder s, final int depth)
//package com.java2s; public class Main { private static void indent(final StringBuilder s, final int depth) { for (int i = depth - 1; i >= 0; i--) s.append(" "); }/* w ww. j a v a 2 s. c o m*/ }