From 1420bce36aafcf114b4636997a1a4cfd4787e474 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:19:24 +0000 Subject: [PATCH] Move import statement in SpringWebClient.qll --- .../lib/semmle/code/java/frameworks/spring/SpringWebClient.qll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/ql/lib/semmle/code/java/frameworks/spring/SpringWebClient.qll b/java/ql/lib/semmle/code/java/frameworks/spring/SpringWebClient.qll index a9c3cd3cdd88..e84108394704 100644 --- a/java/ql/lib/semmle/code/java/frameworks/spring/SpringWebClient.qll +++ b/java/ql/lib/semmle/code/java/frameworks/spring/SpringWebClient.qll @@ -4,6 +4,7 @@ import java import SpringHttp +private import semmle.code.java.security.RequestForgery /** The class `org.springframework.web.client.RestTemplate`. */ class SpringRestTemplate extends Class { @@ -28,8 +29,6 @@ class SpringWebClient extends Interface { } } -private import semmle.code.java.security.RequestForgery - /** The method `getForObject` on `org.springframework.web.reactive.function.client.RestTemplate`. */ class SpringRestTemplateGetForObjectMethod extends Method { SpringRestTemplateGetForObjectMethod() {