From 1a89ddae5df62dcd10b26350ed990207c67541fb Mon Sep 17 00:00:00 2001 From: erik-krogh Date: Fri, 19 Aug 2022 15:40:29 +0200 Subject: [PATCH] update some comments from XML to Xml --- cpp/ql/lib/semmle/code/cpp/XML.qll | 4 ++-- csharp/ql/lib/semmle/code/csharp/XML.qll | 4 ++-- java/ql/lib/semmle/code/xml/XML.qll | 4 ++-- javascript/ql/lib/semmle/javascript/XML.qll | 4 ++-- python/ql/lib/semmle/python/xml/XML.qll | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cpp/ql/lib/semmle/code/cpp/XML.qll b/cpp/ql/lib/semmle/code/cpp/XML.qll index 9495e80d8c1..7ad790b2b48 100755 --- a/cpp/ql/lib/semmle/code/cpp/XML.qll +++ b/cpp/ql/lib/semmle/code/cpp/XML.qll @@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable { deprecated class XMLLocatable = XmlLocatable; /** - * An `XMLParent` is either an `XMLElement` or an `XMLFile`, + * An `XmlParent` is either an `XmlElement` or an `XmlFile`, * both of which can contain other elements. */ class XmlParent extends @xmlparent { XmlParent() { - // explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`; + // explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`; // the type `@xmlparent` currently also includes non-XML files this instanceof @xmlelement or xmlEncoding(this, _) } diff --git a/csharp/ql/lib/semmle/code/csharp/XML.qll b/csharp/ql/lib/semmle/code/csharp/XML.qll index 9495e80d8c1..7ad790b2b48 100755 --- a/csharp/ql/lib/semmle/code/csharp/XML.qll +++ b/csharp/ql/lib/semmle/code/csharp/XML.qll @@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable { deprecated class XMLLocatable = XmlLocatable; /** - * An `XMLParent` is either an `XMLElement` or an `XMLFile`, + * An `XmlParent` is either an `XmlElement` or an `XmlFile`, * both of which can contain other elements. */ class XmlParent extends @xmlparent { XmlParent() { - // explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`; + // explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`; // the type `@xmlparent` currently also includes non-XML files this instanceof @xmlelement or xmlEncoding(this, _) } diff --git a/java/ql/lib/semmle/code/xml/XML.qll b/java/ql/lib/semmle/code/xml/XML.qll index 9495e80d8c1..7ad790b2b48 100755 --- a/java/ql/lib/semmle/code/xml/XML.qll +++ b/java/ql/lib/semmle/code/xml/XML.qll @@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable { deprecated class XMLLocatable = XmlLocatable; /** - * An `XMLParent` is either an `XMLElement` or an `XMLFile`, + * An `XmlParent` is either an `XmlElement` or an `XmlFile`, * both of which can contain other elements. */ class XmlParent extends @xmlparent { XmlParent() { - // explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`; + // explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`; // the type `@xmlparent` currently also includes non-XML files this instanceof @xmlelement or xmlEncoding(this, _) } diff --git a/javascript/ql/lib/semmle/javascript/XML.qll b/javascript/ql/lib/semmle/javascript/XML.qll index 9495e80d8c1..7ad790b2b48 100755 --- a/javascript/ql/lib/semmle/javascript/XML.qll +++ b/javascript/ql/lib/semmle/javascript/XML.qll @@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable { deprecated class XMLLocatable = XmlLocatable; /** - * An `XMLParent` is either an `XMLElement` or an `XMLFile`, + * An `XmlParent` is either an `XmlElement` or an `XmlFile`, * both of which can contain other elements. */ class XmlParent extends @xmlparent { XmlParent() { - // explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`; + // explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`; // the type `@xmlparent` currently also includes non-XML files this instanceof @xmlelement or xmlEncoding(this, _) } diff --git a/python/ql/lib/semmle/python/xml/XML.qll b/python/ql/lib/semmle/python/xml/XML.qll index 9495e80d8c1..7ad790b2b48 100755 --- a/python/ql/lib/semmle/python/xml/XML.qll +++ b/python/ql/lib/semmle/python/xml/XML.qll @@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable { deprecated class XMLLocatable = XmlLocatable; /** - * An `XMLParent` is either an `XMLElement` or an `XMLFile`, + * An `XmlParent` is either an `XmlElement` or an `XmlFile`, * both of which can contain other elements. */ class XmlParent extends @xmlparent { XmlParent() { - // explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`; + // explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`; // the type `@xmlparent` currently also includes non-XML files this instanceof @xmlelement or xmlEncoding(this, _) }