private void setListAndIndex(SvgPathSeg newItem, int index) { if (newItem != null) { newItem.setList(this); newItem.setIndex(index); } else { throw new SvgException(SvgExceptionType.SvgWrongTypeErr, "Can only add SvgPathSeg subclasses to ISvgPathSegList"); } }
private void setListAndIndex(SvgPathSeg newItem, int index) { if(newItem != null) { newItem.setList(this); newItem.setIndex(index); } else { throw new SvgException(SvgExceptionType.SvgWrongTypeErr, "Can only add SvgPathSeg subclasses to ISvgPathSegList"); } }