Skip to content

Commit c27b611

Browse files
committed
Java: Deprecate MyBatisMapperXML as it is only used by experimental queries.
1 parent 999f1f2 commit c27b611

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

java/ql/src/experimental/Security/CWE/CWE-089/MyBatisMapperXmlSqlInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import java
1616
deprecated import MyBatisCommonLib
1717
deprecated import MyBatisMapperXmlSqlInjectionLib
18-
import semmle.code.xml.MyBatisMapperXML
18+
deprecated import semmle.code.xml.MyBatisMapperXML
1919
import semmle.code.java.dataflow.FlowSources
2020
private import semmle.code.java.security.Sanitizers
2121
deprecated import MyBatisMapperXmlSqlInjectionFlow::PathGraph

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* Provides classes for working with MyBatis mapper xml files and their content.
33
*/
4+
deprecated module;
45

56
import java
67

0 commit comments

Comments
 (0)