line.getShape().append(arrowHeads, false);
if (arrowHeads != null) { line.getShape().append(arrowHeads, false); }
    public static void addArrowHeads(int arrowDirectionType, int location,				     OMLine line) {	Shape arrowHeads = createArrowHeads(arrowDirectionType, location, line);	line.getShape().append(arrowHeads, false);    }