You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gr...@apache.org on 2005/07/07 01:53:47 UTC

svn commit: r209546 - /myfaces/impl/trunk/src/java/org/apache/myfaces/context/servlet/ServletFacesContextImpl.java

Author: grantsmith
Date: Wed Jul  6 16:53:46 2005
New Revision: 209546

URL: http://svn.apache.org/viewcvs?rev=209546&view=rev
Log:
added final modifier for performance


Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/context/servlet/ServletFacesContextImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/context/servlet/ServletFacesContextImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/context/servlet/ServletFacesContextImpl.java?rev=209546&r1=209545&r2=209546&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/context/servlet/ServletFacesContextImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/context/servlet/ServletFacesContextImpl.java Wed Jul  6 16:53:46 2005
@@ -49,7 +49,7 @@
 {
     //~ Static fields/initializers -----------------------------------------------------------------
 
-    protected static final Object NULL_DUMMY        = new Object();
+    private static final Object NULL_DUMMY        = new Object();
 
     //~ Instance fields ----------------------------------------------------------------------------
 
@@ -124,7 +124,7 @@
             return NullIterator.instance();
         }
 
-        Set uniqueClientIds = new LinkedHashSet(_messageClientIds);
+        final Set uniqueClientIds = new LinkedHashSet(_messageClientIds);
         return uniqueClientIds.iterator();
     }