File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/ql/lib/semmle/code/java/frameworks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ private import semmle.code.java.security.XSS
1313/**
1414 * Gets a name for the root package of JAX-RS.
1515 */
16- string getAJaxRsPackage ( ) { result in [ javaxOrJakarta ( ) + ".ws.rs" ] }
16+ string getAJaxRsPackage ( ) { result = javaxOrJakarta ( ) + ".ws.rs" }
1717
1818/**
1919 * Gets a name for package `subpackage` within the JAX-RS hierarchy.
@@ -114,7 +114,7 @@ private class JaxAcceptableStandardClass extends RefType {
114114 this .hasQualifiedName ( "java.util" , "Calendar" ) or
115115 this .hasQualifiedName ( "java.math" , "BigInteger" ) or
116116 this .hasQualifiedName ( "java.math" , "BigDecimal" ) or
117- this .hasQualifiedName ( javaxOrJakarta ( ) + " .xml.namespace", "QName" ) or
117+ this .hasQualifiedName ( "javax .xml.namespace", "QName" ) or
118118 this instanceof TypeUri
119119 }
120120}
You can’t perform that action at this time.
0 commit comments