This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit c9fda6667986241512a75620821f8ab67c5eb4a3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 27 16:40:13 2019 +0100

    Align with 9.0.x
---
 java/org/apache/catalina/deploy/NamingResourcesImpl.java | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/deploy/NamingResourcesImpl.java 
b/java/org/apache/catalina/deploy/NamingResourcesImpl.java
index f2a7181..668fa50 100644
--- a/java/org/apache/catalina/deploy/NamingResourcesImpl.java
+++ b/java/org/apache/catalina/deploy/NamingResourcesImpl.java
@@ -25,6 +25,7 @@ import java.lang.reflect.Method;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.List;
+import java.util.Map;
 import java.util.Set;
 
 import javax.naming.NamingException;
@@ -104,27 +105,27 @@ public class NamingResourcesImpl extends 
LifecycleMBeanBase
     /**
      * The EJB resource references for this web application, keyed by name.
      */
-    private final HashMap<String, ContextEjb> ejbs = new HashMap<>();
+    private final Map<String, ContextEjb> ejbs = new HashMap<>();
 
 
     /**
      * The environment entries for this web application, keyed by name.
      */
-    private final HashMap<String, ContextEnvironment> envs = new HashMap<>();
+    private final Map<String, ContextEnvironment> envs = new HashMap<>();
 
 
     /**
      * The local  EJB resource references for this web application, keyed by
      * name.
      */
-    private final HashMap<String, ContextLocalEjb> localEjbs = new HashMap<>();
+    private final Map<String, ContextLocalEjb> localEjbs = new HashMap<>();
 
 
     /**
      * The message destination references for this web application,
      * keyed by name.
      */
-    private final HashMap<String, MessageDestinationRef> mdrs = new 
HashMap<>();
+    private final Map<String, MessageDestinationRef> mdrs = new HashMap<>();
 
 
     /**


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to