Skip to content

Commit 1a89dda

Browse files
committed
update some comments from XML to Xml
1 parent ce9f69a commit 1a89dda

File tree

5 files changed

+10
-10
lines changed
  • cpp/ql/lib/semmle/code/cpp
  • csharp/ql/lib/semmle/code/csharp
  • javascript/ql/lib/semmle/javascript
  • java/ql/lib/semmle/code/xml
  • python/ql/lib/semmle/python/xml

5 files changed

+10
-10
lines changed

cpp/ql/lib/semmle/code/cpp/XML.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable {
3636
deprecated class XMLLocatable = XmlLocatable;
3737

3838
/**
39-
* An `XMLParent` is either an `XMLElement` or an `XMLFile`,
39+
* An `XmlParent` is either an `XmlElement` or an `XmlFile`,
4040
* both of which can contain other elements.
4141
*/
4242
class XmlParent extends @xmlparent {
4343
XmlParent() {
44-
// explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`;
44+
// explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`;
4545
// the type `@xmlparent` currently also includes non-XML files
4646
this instanceof @xmlelement or xmlEncoding(this, _)
4747
}

csharp/ql/lib/semmle/code/csharp/XML.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable {
3636
deprecated class XMLLocatable = XmlLocatable;
3737

3838
/**
39-
* An `XMLParent` is either an `XMLElement` or an `XMLFile`,
39+
* An `XmlParent` is either an `XmlElement` or an `XmlFile`,
4040
* both of which can contain other elements.
4141
*/
4242
class XmlParent extends @xmlparent {
4343
XmlParent() {
44-
// explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`;
44+
// explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`;
4545
// the type `@xmlparent` currently also includes non-XML files
4646
this instanceof @xmlelement or xmlEncoding(this, _)
4747
}

java/ql/lib/semmle/code/xml/XML.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable {
3636
deprecated class XMLLocatable = XmlLocatable;
3737

3838
/**
39-
* An `XMLParent` is either an `XMLElement` or an `XMLFile`,
39+
* An `XmlParent` is either an `XmlElement` or an `XmlFile`,
4040
* both of which can contain other elements.
4141
*/
4242
class XmlParent extends @xmlparent {
4343
XmlParent() {
44-
// explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`;
44+
// explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`;
4545
// the type `@xmlparent` currently also includes non-XML files
4646
this instanceof @xmlelement or xmlEncoding(this, _)
4747
}

javascript/ql/lib/semmle/javascript/XML.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable {
3636
deprecated class XMLLocatable = XmlLocatable;
3737

3838
/**
39-
* An `XMLParent` is either an `XMLElement` or an `XMLFile`,
39+
* An `XmlParent` is either an `XmlElement` or an `XmlFile`,
4040
* both of which can contain other elements.
4141
*/
4242
class XmlParent extends @xmlparent {
4343
XmlParent() {
44-
// explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`;
44+
// explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`;
4545
// the type `@xmlparent` currently also includes non-XML files
4646
this instanceof @xmlelement or xmlEncoding(this, _)
4747
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable {
3636
deprecated class XMLLocatable = XmlLocatable;
3737

3838
/**
39-
* An `XMLParent` is either an `XMLElement` or an `XMLFile`,
39+
* An `XmlParent` is either an `XmlElement` or an `XmlFile`,
4040
* both of which can contain other elements.
4141
*/
4242
class XmlParent extends @xmlparent {
4343
XmlParent() {
44-
// explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`;
44+
// explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`;
4545
// the type `@xmlparent` currently also includes non-XML files
4646
this instanceof @xmlelement or xmlEncoding(this, _)
4747
}

0 commit comments

Comments
 (0)