private void appendIndentation(int level,StringBuilder result){
  for (int i=0; i < level; ++i)   result.append("  ");
}

private void appendIndentation ( int level , StringBuilder result ) { for ( int i = 0 ; i < level ; ++ i ) result . append ( "  " ) ; }
helper method . appends indentation to ` result ` .
