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: MYFACES-4271 [perf] DefaultViewHandlerSupport cache is not always used
Date Tue, 04 Dec 2018 09:03:46 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 cb223c7  MYFACES-4271 [perf] DefaultViewHandlerSupport cache is not always used
cb223c7 is described below

commit cb223c7cd2815c4583db6802f89b5d1de0f3ef21
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Tue Dec 4 10:03:42 2018 +0100

    MYFACES-4271 [perf] DefaultViewHandlerSupport cache is not always used
---
 .../org/apache/myfaces/view/jsp/JspViewDeclarationLanguageBase.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/jsp/JspViewDeclarationLanguageBase.java
b/impl/src/main/java/org/apache/myfaces/view/jsp/JspViewDeclarationLanguageBase.java
index 572f836..a0e0d6f 100644
--- a/impl/src/main/java/org/apache/myfaces/view/jsp/JspViewDeclarationLanguageBase.java
+++ b/impl/src/main/java/org/apache/myfaces/view/jsp/JspViewDeclarationLanguageBase.java
@@ -375,7 +375,7 @@ public abstract class JspViewDeclarationLanguageBase extends ViewDeclarationLang
   {
       if (_cachedViewHandlerSupport == null)
       {
-          _cachedViewHandlerSupport = new DefaultViewHandlerSupport();
+          _cachedViewHandlerSupport = new DefaultViewHandlerSupport(context);
       }
   
       return _cachedViewHandlerSupport.calculateViewId(context, viewId);


Mime
View raw message