Skip to content

Commit 1420bce

Browse files
authored
Move import statement in SpringWebClient.qll
1 parent 347fd57 commit 1420bce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import java
66
import SpringHttp
7+
private import semmle.code.java.security.RequestForgery
78

89
/** The class `org.springframework.web.client.RestTemplate`. */
910
class SpringRestTemplate extends Class {
@@ -28,8 +29,6 @@ class SpringWebClient extends Interface {
2829
}
2930
}
3031

31-
private import semmle.code.java.security.RequestForgery
32-
3332
/** The method `getForObject` on `org.springframework.web.reactive.function.client.RestTemplate`. */
3433
class SpringRestTemplateGetForObjectMethod extends Method {
3534
SpringRestTemplateGetForObjectMethod() {

0 commit comments

Comments
 (0)