Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef453db

Browse files
author
Max Schaefer
committed
Python: Adjust XMLParent.getName to match other languages.
1 parent 3068a89 commit ef453db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • python/ql/src/semmle/python/xml

python/ql/src/semmle/python/xml/XML.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class XMLParent extends @xmlparent {
4444
* Gets a printable representation of this XML parent.
4545
* (Intended to be overridden in subclasses.)
4646
*/
47-
/*abstract*/ string getName() { result = "parent" }
47+
abstract string getName();
4848

4949
/** Gets the file to which this XML parent belongs. */
5050
XMLFile getFile() { result = this or xmlElements(this, _, _, _, result) }

0 commit comments

Comments
 (0)