openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1830470 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Sat, 28 Apr 2018 19:44:47 GMT
Author: struberg
Date: Sat Apr 28 19:44:46 2018
New Revision: 1830470

URL: http://svn.apache.org/viewvc?rev=1830470&view=rev
Log:
move from j.u.Stack to LinkedList

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=1830470&r1=1830469&r2=1830470&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Sat Apr 28 19:44:46 2018
@@ -124,7 +124,6 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
-import java.util.Stack;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 import java.util.stream.Collectors;
@@ -1119,7 +1118,7 @@ public class BeansDeployer
 
         if (beans != null && beans.size() > 0)
         {
-            Stack<String> beanNames = new Stack<>();
+            LinkedList<String> beanNames = new LinkedList<>();
             for (Bean<?> bean : beans)
             {
                 try
@@ -1220,7 +1219,7 @@ public class BeansDeployer
         }
     }
 
-    private void validateBeanNames(Stack<String> beanNames)
+    private void validateBeanNames(LinkedList<String> beanNames)
     {
         if(beanNames.size() > 0)
         {   



Mime
View raw message