myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: cleanup
Date Fri, 16 Aug 2019 16:52:35 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/master by this push:
     new 3556897  cleanup
3556897 is described below

commit 3556897ee65258c29e1547621955018e0019683d
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Fri Aug 16 18:52:29 2019 +0200

    cleanup
---
 .../org/apache/myfaces/config/FacesConfigurator.java     |  3 +--
 .../java/org/apache/myfaces/config/RuntimeConfig.java    | 16 ----------------
 2 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java b/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java
index 2b4e8ee..5632c04 100755
--- a/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java
+++ b/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java
@@ -684,7 +684,6 @@ public class FacesConfigurator
                 javax.faces.event.SystemEventListener listener = (javax.faces.event.SystemEventListener)

                         ClassUtils.newInstance(systemEventListener.getSystemEventListenerClass());
                 _callInjectAndPostConstruct(listener);
-                _runtimeConfig.addInjectedObject(listener);
                 if (systemEventListener.getSourceClass() != null && systemEventListener.getSourceClass().length()
> 0)
                 {
                     application.subscribeToEvent(
@@ -811,7 +810,7 @@ public class FacesConfigurator
         
         this.setApplication(application);
     }
-    
+
     private void _callInjectAndPostConstruct(Object instance)
     {
         try
diff --git a/impl/src/main/java/org/apache/myfaces/config/RuntimeConfig.java b/impl/src/main/java/org/apache/myfaces/config/RuntimeConfig.java
index 9ec8bbe..33075b7 100755
--- a/impl/src/main/java/org/apache/myfaces/config/RuntimeConfig.java
+++ b/impl/src/main/java/org/apache/myfaces/config/RuntimeConfig.java
@@ -104,8 +104,6 @@ public class RuntimeConfig
     
     private List<String> _resourceResolvers = new ArrayList<String>();
     
-    private List<Object> _injectedObjects = new ArrayList<Object>();
-    
     private List<FaceletTagLibrary> _faceletTagLibraries = new ArrayList<FaceletTagLibrary>();
     
     private Map<Integer, String> _namespaceById = new HashMap<Integer, String>();
@@ -138,7 +136,6 @@ public class RuntimeConfig
         _externalContextResourceLibraryContracts.clear();
         _classLoaderResourceLibraryContracts.clear();
         _resourceLibraryContracts.clear();
-        _injectedObjects.clear();
         _faceletTagLibraries.clear();
         _faceletTemplates.clear();
         
@@ -432,19 +429,6 @@ public class RuntimeConfig
         _resourceResolvers.add(resourceResolver);
     }
 
-    /**
-     * @return the _injectedObjects
-     */
-    public List<Object> getInjectedObjects()
-    {
-        return _injectedObjects;
-    }
-
-    public void addInjectedObject(Object object)
-    {
-        _injectedObjects.add(object);
-    }
-
     public Map<Integer, String> getNamespaceById()
     {
         return _namespaceById;


Mime
View raw message