dap4/d4core/src/main/java/dap4/core/util/IndentWriter.java
public void indent(int n)
    {
        depth += n;
        if(depth < 0)
            depth = 0;
        else if(depth > MAXDEPTH)
            depth = MAXDEPTH;
    }
public void indent(int n)
    {
        depth += n;
        if(depth < 0)
            depth = 0;
        else if(depth > MAXDEPTH)
            depth = MAXDEPTH;
    }
Set depth += n

@param n depth increment/decrement(if neg)