Skip to content

Commit eb0a88d

Browse files
authored
Merge pull request github#6885 from aschackmull/java/perffix-transitve-step
Java: Fix performance problem due to transitive step.
2 parents f6a517c + cb5f255 commit eb0a88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/frameworks/spring/SpringHttp.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private DataFlow::Node getABodyBuilderWithExplicitContentType(Expr contentType)
280280
.hasQualifiedName("org.springframework.http", "ResponseEntity$BodyBuilder")
281281
)
282282
or
283-
DataFlow::localFlow(getABodyBuilderWithExplicitContentType(contentType), result)
283+
DataFlow::localFlowStep(getABodyBuilderWithExplicitContentType(contentType), result)
284284
}
285285

286286
private DataFlow::Node getASanitizedBodyBuilder() {

0 commit comments

Comments
 (0)