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: refactored
Date Thu, 07 Mar 2019 16:32:15 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 3c3ce90  refactored
3c3ce90 is described below

commit 3c3ce90bbb167d6f40a25327d6b7ad348c22df2b
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Thu Mar 7 17:32:08 2019 +0100

    refactored
---
 .../myfaces/config/annotation/CdiAnnotationProviderExtension.java       | 2 +-
 .../main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/config/annotation/CdiAnnotationProviderExtension.java
b/impl/src/main/java/org/apache/myfaces/config/annotation/CdiAnnotationProviderExtension.java
index 3336adb..52af60f 100644
--- a/impl/src/main/java/org/apache/myfaces/config/annotation/CdiAnnotationProviderExtension.java
+++ b/impl/src/main/java/org/apache/myfaces/config/annotation/CdiAnnotationProviderExtension.java
@@ -81,7 +81,7 @@ public class CdiAnnotationProviderExtension implements Extension
         return map;
     }
     
-    public void clear()
+    public void release()
     {
         map.clear();
         map = null;
diff --git a/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java b/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java
index 952be1d..f78d9b4 100644
--- a/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java
+++ b/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java
@@ -286,7 +286,7 @@ public abstract class AbstractFacesInitializer implements FacesInitializer
                     BeanProvider.getContextualReference(beanManager, CdiAnnotationProviderExtension.class,
false);
             if (extension != null)
             {
-                extension.clear();
+                extension.release();
             }
         }
 


Mime
View raw message