You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by wt...@apache.org on 2020/02/27 13:05:57 UTC

[myfaces] branch 2.3.x updated: MYFACES-4320 fix ConcurrentModificationException

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

wtlucy pushed a commit to branch 2.3.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/2.3.x by this push:
     new 98b9f28  MYFACES-4320 fix ConcurrentModificationException
     new 6e16f1d  Merge pull request #84 from wtlucy/4320_staticInit_2.3
98b9f28 is described below

commit 98b9f282f1e1c0aa45b7feaac93dd80d8b2125ab
Author: Bill Lucy <wt...@gmail.com>
AuthorDate: Wed Feb 26 13:05:17 2020 -0500

    MYFACES-4320 fix ConcurrentModificationException
---
 .../org/apache/myfaces/config/DefaultFacesConfigurationProvider.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/impl/src/main/java/org/apache/myfaces/config/DefaultFacesConfigurationProvider.java b/impl/src/main/java/org/apache/myfaces/config/DefaultFacesConfigurationProvider.java
index d8b0e16..f8f6022 100644
--- a/impl/src/main/java/org/apache/myfaces/config/DefaultFacesConfigurationProvider.java
+++ b/impl/src/main/java/org/apache/myfaces/config/DefaultFacesConfigurationProvider.java
@@ -95,6 +95,7 @@ public class DefaultFacesConfigurationProvider extends FacesConfigurationProvide
     private static final String DEFAULT_FACES_CONFIG = "/WEB-INF/faces-config.xml";
 
     private static final Set<String> FACTORY_NAMES = new HashSet<String>();
+    static
     {
         FACTORY_NAMES.add(FactoryFinder.APPLICATION_FACTORY);
         FACTORY_NAMES.add(FactoryFinder.CLIENT_WINDOW_FACTORY);