You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2019/01/09 12:28:03 UTC

[myfaces] branch 2.3.x updated: [perf] use cached RuntimeConfig in the ApplicationImp

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

tandraschko 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 e67abfa  [perf] use cached RuntimeConfig in the ApplicationImp
e67abfa is described below

commit e67abfab5f39825a1652f737bdb03984b46f0a0a
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Wed Jan 9 13:27:55 2019 +0100

    [perf] use cached RuntimeConfig in the ApplicationImp
---
 impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
index f680047..32096d2 100755
--- a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
@@ -471,7 +471,7 @@ public class ApplicationImpl extends Application
 
     String getBundleName(final FacesContext facesContext, final String name)
     {
-        ResourceBundle bundle = getRuntimeConfig(facesContext).getResourceBundle(name);
+        ResourceBundle bundle = _runtimeConfig.getResourceBundle(name);
         return bundle != null ? bundle.getBaseName() : null;
     }