From 96eaf2119fe21696a484177e3a134baaa841d802 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Thu, 4 Mar 2021 15:10:02 +0000 Subject: [PATCH] Correct signature and package in comment cf https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html#addCookie(javax.servlet.http.Cookie) --- java/ql/src/semmle/code/java/frameworks/Servlets.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/src/semmle/code/java/frameworks/Servlets.qll b/java/ql/src/semmle/code/java/frameworks/Servlets.qll index 3fad8c4e18b3..1dd4373fb548 100644 --- a/java/ql/src/semmle/code/java/frameworks/Servlets.qll +++ b/java/ql/src/semmle/code/java/frameworks/Servlets.qll @@ -266,7 +266,7 @@ library class CookieGetCommentMethod extends Method { } /** - * The method `addCookie(String)` declared in `javax.servlet.http.Cookie`. + * The method `addCookie(Cookie)` declared in `javax.servlet.http.HttpServletResponse`. */ class ResponseAddCookieMethod extends Method { ResponseAddCookieMethod() {