From 96feea767a296ff06730451aafb203337f35dbda Mon Sep 17 00:00:00 2001 From: Rhys Williams <170514543+Viii3@users.noreply.github.com> Date: Fri, 21 Feb 2025 09:31:30 +0000 Subject: [PATCH] FISH-8545: Use constants where appropriate. --- .../main/java/com/sun/enterprise/glassfish/web/WarHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appserver/web/war-util/src/main/java/com/sun/enterprise/glassfish/web/WarHandler.java b/appserver/web/war-util/src/main/java/com/sun/enterprise/glassfish/web/WarHandler.java index 784a8760060..99885f3ac7a 100644 --- a/appserver/web/war-util/src/main/java/com/sun/enterprise/glassfish/web/WarHandler.java +++ b/appserver/web/war-util/src/main/java/com/sun/enterprise/glassfish/web/WarHandler.java @@ -636,7 +636,7 @@ protected void read(InputStream input) throws XMLStreamException { versionIdentifier = parser.getElementText(); } else if (RuntimeTagNames.PAYARA_WHITELIST_PACKAGE.equals(name)) { application.addWhitelistPackage(parser.getElementText()); - } else if ("session-config".equals(name)) { + } else if (RuntimeTagNames.SESSION_CONFIG.equals(name)) { readCookieConfig(); } else { skipSubTree(name);