mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java: Deprecate StringLiteral.getRepresentedString()
This commit is contained in:
@@ -41,5 +41,5 @@ private class DefaultInsecureBasicAuthSink extends InsecureBasicAuthSink {
|
||||
* String pattern of basic authentication.
|
||||
*/
|
||||
private class BasicAuthString extends StringLiteral {
|
||||
BasicAuthString() { exists(string s | this.getRepresentedString() = s | s.matches("Basic %")) }
|
||||
BasicAuthString() { exists(string s | this.getValue() = s | s.matches("Basic %")) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user