Skip to content

Commit 89a5acf

Browse files
committed
Java: Revert overriding XMLFile.getAPrimaryQlClass()
Library file has to be kept in sync with the other languages, however except cpp none of them have the getAPrimaryQlClass() predicate declared in a superclass. Therefore for simplicity revert the change for Java.
1 parent c37dbb2 commit 89a5acf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ class XMLFile extends XMLParent, File {
149149

150150
/** Gets a DTD associated with this XML file. */
151151
XMLDTD getADTD() { xmlDTDs(result, _, _, _, this) }
152-
153-
override string getAPrimaryQlClass() { result = "XMLFile" }
154152
}
155153

156154
/**

0 commit comments

Comments
 (0)