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:10:42 UTC

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

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

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


The following commit(s) were added to refs/heads/3.0.x by this push:
     new ca24f76  MYFACES-4320 fix ConcurrentModificationException
     new 53fd89a  Merge pull request #86 from wtlucy/4320_staticInit_3.0
ca24f76 is described below

commit ca24f768459a6fedb3352c7529a7a364baa968a6
Author: Bill Lucy <wt...@gmail.com>
AuthorDate: Thu Feb 27 08:08:09 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 a758deb..d703273 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);