Skip to content

Commit aa14105

Browse files
committed
Don't use the reflexive transitive closure, so that the predicate becomes a little more efficient
1 parent 2c41c5b commit aa14105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private class BulkData extends RefType {
256256
*/
257257
private predicate inputStreamWrapper(Constructor c, int argi) {
258258
c.getParameterType(argi) instanceof BulkData and
259-
c.getDeclaringType().getASourceSupertype*().hasQualifiedName("java.io", "InputStream")
259+
c.getDeclaringType().getASourceSupertype+().hasQualifiedName("java.io", "InputStream")
260260
}
261261

262262
/** An object construction that preserves the data flow status of any of its arguments. */

0 commit comments

Comments
 (0)