Skip to content

Commit 877c529

Browse files
committed
Remove the deprecated library keyword
1 parent b6886b8 commit 877c529

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/lib/semmle/code/java/frameworks/Servlets.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,23 +349,23 @@ predicate isRequestGetParamMethod(MethodAccess ma) {
349349
}
350350

351351
/** The Java EE RequestDispatcher. */
352-
library class RequestDispatcher extends RefType {
352+
class RequestDispatcher extends RefType {
353353
RequestDispatcher() {
354354
this.hasQualifiedName(["javax.servlet", "jakarta.servlet"], "RequestDispatcher") or
355355
this.hasQualifiedName("javax.portlet", "PortletRequestDispatcher")
356356
}
357357
}
358358

359359
/** The `getRequestDispatcher` method. */
360-
library class GetRequestDispatcherMethod extends Method {
360+
class GetRequestDispatcherMethod extends Method {
361361
GetRequestDispatcherMethod() {
362362
this.getReturnType() instanceof RequestDispatcher and
363363
this.getName() = "getRequestDispatcher"
364364
}
365365
}
366366

367367
/** The request dispatch method. */
368-
library class RequestDispatchMethod extends Method {
368+
class RequestDispatchMethod extends Method {
369369
RequestDispatchMethod() {
370370
this.getDeclaringType() instanceof RequestDispatcher and
371371
this.hasName(["forward", "include"])

0 commit comments

Comments
 (0)