From 1491b8bcc5736e2904ccb54a8c21e56254f5bfb8 Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi <141303561+anusreelakshmi934@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:10:02 +0530 Subject: [PATCH] Removed unused unqualified names --- .../lsp4jakarta/lsp4ij/servlet/ServletConstants.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/servlet/ServletConstants.java b/src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/servlet/ServletConstants.java index 690cb0ec0..2426b11af 100644 --- a/src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/servlet/ServletConstants.java +++ b/src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/servlet/ServletConstants.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2022 IBM Corporation, Pengyu Xiong and others. + * Copyright (c) 2020, 2024 IBM Corporation, Pengyu Xiong and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at @@ -16,30 +16,20 @@ public class ServletConstants { /* @WEBListener */ - public static final String WEB_LISTENER = "WebListener"; public static final String WEB_LISTENER_FQ_NAME = "jakarta.servlet.annotation.WebListener"; - public static final String SERVLET_CONTEXT_LISTENER = "ServletContextListener"; public static final String SERVLET_CONTEXT_LISTENER_FQ_NAME = "jakarta.servlet.ServletContextListener"; - public static final String SERVLET_CONTEXT_ATTRIBUTE_LISTENER = "ServletContextAttributeListener"; public static final String SERVLET_CONTEXT_ATTRIBUTE_LISTENER_FQ_NAME = "jakarta.servlet.ServletContextAttributeListener"; - public static final String SERVLET_REQUEST_LISTENER = "ServletRequestListener"; public static final String SERVLET_REQUEST_LISTENER_FQ_NAME = "jakarta.servlet.ServletRequestListener"; - public static final String SERVLET_REQUEST_ATTRIBUTE_LISTENER = "ServletRequestAttributeListener"; public static final String SERVLET_REQUEST_ATTRIBUTE_LISTENER_FQ_NAME = "jakarta.servlet.ServletRequestAttributeListener"; - public static final String HTTP_SESSION_LISTENER = "HttpSessionListener"; public static final String HTTP_SESSION_LISTENER_FQ_NAME = "jakarta.servlet.http.HttpSessionListener"; - public static final String HTTP_SESSION_ATTRIBUTE_LISTENER = "HttpSessionAttributeListener"; public static final String HTTP_SESSION_ATTRIBUTE_LISTENER_FQ_NAME = "jakarta.servlet.http.HttpSessionAttributeListener"; - public static final String HTTP_SESSION_ID_LISTENER = "HttpSessionIdListener"; public static final String HTTP_SESSION_ID_LISTENER_FQ_NAME = "jakarta.servlet.http.HttpSessionIdListener"; /* @WEBServlet */ - public static final String WEB_SERVLET = "WebServlet"; public static final String WEB_SERVLET_FQ_NAME = "jakarta.servlet.annotation.WebServlet"; public static final String HTTP_SERVLET = "HttpServlet"; /* @WEBFilter */ - public static final String WEBFILTER = "WebFilter"; public static final String WEBFILTER_FQ_NAME = "jakarta.servlet.annotation.WebFilter"; public static final String FILTER = "Filter"; public static final String FILTER_FQ_NAME = "jakarta.servlet.Filter";