myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] deki closed pull request #3: MYFACES-4234 Use intern() on FACELET_CACHE_KEY value
Date Fri, 01 Jun 2018 19:22:00 GMT
deki closed pull request #3: MYFACES-4234 Use intern() on FACELET_CACHE_KEY value
URL: https://github.com/apache/myfaces/pull/3
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/api/src/main/java/javax/faces/view/facelets/FaceletContext.java b/api/src/main/java/javax/faces/view/facelets/FaceletContext.java
index 93d4363b2..7bc54cf7a 100644
--- a/api/src/main/java/javax/faces/view/facelets/FaceletContext.java
+++ b/api/src/main/java/javax/faces/view/facelets/FaceletContext.java
@@ -40,7 +40,7 @@
 public abstract class FaceletContext extends ELContext
 {
     // TODO: REPORT this aberration to the EG
-    public static final String FACELET_CONTEXT_KEY = "javax.faces.FACELET_CONTEXT";
+    public static final String FACELET_CONTEXT_KEY = "javax.faces.FACELET_CONTEXT".intern();
     
     /**
      * Generate a unique ID for the passed String


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message