myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mstar...@apache.org
Subject svn commit: r1072115 - /myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/StringArrayPropertyTagRule.java
Date Fri, 18 Feb 2011 19:38:15 GMT
Author: mstarets
Date: Fri Feb 18 19:38:14 2011
New Revision: 1072115

URL: http://svn.apache.org/viewvc?rev=1072115&view=rev
Log:
TRINIDAD-2040 - Issue 2034 introduced regression in StringArrayPropertyTagRule

Modified:
    myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/StringArrayPropertyTagRule.java

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/StringArrayPropertyTagRule.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/StringArrayPropertyTagRule.java?rev=1072115&r1=1072114&r2=1072115&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/StringArrayPropertyTagRule.java
(original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/StringArrayPropertyTagRule.java
Fri Feb 18 19:38:14 2011
@@ -62,7 +62,7 @@ final class StringArrayPropertyTagRule e
       {
         // TRINIDAD-2034 - create a new String array instance every time to avoid issues
         // with sharing mutable objects
-        Object params = new Object[]{_itemList.isEmpty() ? null : _itemList.toArray(new String[_itemList.size()])};
+        Object params[] = new Object[]{_itemList.isEmpty() ? null : _itemList.toArray(new
String[_itemList.size()])};
         _method.invoke(instance, params);
       }
       catch (InvocationTargetException e)



Mime
View raw message