Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 60642c5

Browse files
committed
Use non-extending subtype
1 parent e22a67e commit 60642c5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

java/ql/lib/semmle/code/java/security/TrustBoundaryViolationQuery.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ private import semmle.code.java.frameworks.owasp.Esapi
1212
*/
1313
abstract class TrustBoundaryViolationSource extends DataFlow::Node { }
1414

15-
private class RemoteSource extends TrustBoundaryViolationSource {
16-
RemoteSource() { this instanceof RemoteFlowSource }
17-
}
15+
private class RemoteSource extends TrustBoundaryViolationSource instanceof RemoteFlowSource { }
1816

1917
/**
2018
* A sink for data that crosses a trust boundary.

0 commit comments

Comments
 (0)