74757677787980818283
sb.append(data.getData().getText()); data.replaceBy(null); // removes the node } sb.append(last.getData().getText()); last.replaceBy(new ADataCommand(new TData(sb.toString()))); } datas.clear(); datasBlockNestingLevel = -1; }
237238239240241242243244245246
if (text.isEmpty()) { data.replaceBy(new ANoopCommand()); // Returning null just means we have chomped the whitespace to nothing. data = null; } else { data.setData(new TData(text)); } } return data; }
253254255256257258259260261
if (data != null) { String text = stripTrailingWhitespace(data.getData().getText()); if (text.isEmpty()) { data.replaceBy(new ANoopCommand()); } else { data.setData(new TData(text)); } } }