Skip to content

Commit a37c75a

Browse files
authored
Refactor toString method in XHTMLElementText
Simplified the toString method to return only textContent.
1 parent 6eeac6f commit a37c75a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

de/uni_stuttgart/ils/reqif4j/xhtml/XHTMLElementText.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public XHTMLElementText(Node xhtmlElement, XHTMLNode parent) {
3030

3131
@Override
3232
public String toString() {
33-
return tagName + " {" + textContent + "}";
33+
return textContent;
3434
}
3535

3636
}

0 commit comments

Comments
 (0)