From 8587bccf40e109c3652d2c6c327c5d20bf45c2bb Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Thu, 23 Dec 2021 17:14:11 +0100 Subject: [PATCH] Improved: Fix some bugs Spotbugs reports (OFBIZ-12386) We don't fear collisions for "servletContext". It's only initialised by contextInitialized() and then only read before being destroyed by contextDestroyed() Also initialises servletContextto null --- spotbugs/exclude.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spotbugs/exclude.xml b/spotbugs/exclude.xml index dab253e537..7fe11bd9c4 100644 --- a/spotbugs/exclude.xml +++ b/spotbugs/exclude.xml @@ -137,5 +137,11 @@ + + + + + +