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: refactored
Date Wed, 16 Oct 2019 11:46:05 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 ef21c19  refactored
ef21c19 is described below

commit ef21c19915cfa95afc4895bfbfc68278847210b7
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Wed Oct 16 13:45:58 2019 +0200

    refactored
---
 .../java/org/apache/myfaces/view/facelets/component/UIRepeat.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java b/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
index f5aedd7..ef6519c 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
@@ -608,7 +608,7 @@ public class UIRepeat extends UIComponentBase implements NamingContainer
                         {
                             if (childStates == null)
                             {
-                                childStates = new ArrayList<Object[]>(
+                                childStates = new ArrayList<>(
                                         parent.getFacetCount()
                                         + parent.getChildCount()
                                         - totalChildCount
@@ -653,7 +653,7 @@ public class UIRepeat extends UIComponentBase implements NamingContainer
                     {
                         if (childStates == null)
                         {
-                            childStates = new ArrayList<Object[]>(
+                            childStates = new ArrayList<>(
                                     parent.getFacetCount()
                                     + parent.getChildCount()
                                     - totalChildCount
@@ -689,7 +689,7 @@ public class UIRepeat extends UIComponentBase implements NamingContainer
                         {
                             if (childStates == null)
                             {
-                                childStates = new ArrayList<Object[]>(
+                                childStates = new ArrayList<>(
                                         parent.getFacetCount()
                                         + parent.getChildCount()
                                         - totalChildCount


Mime
View raw message