You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/04/01 14:37:41 UTC

svn commit: r929944 - /click/trunk/click/framework/src/org/apache/click/control/Table.java

Author: sabob
Date: Thu Apr  1 12:37:41 2010
New Revision: 929944

URL: http://svn.apache.org/viewvc?rev=929944&view=rev
Log:
fix varargs warnings

Modified:
    click/trunk/click/framework/src/org/apache/click/control/Table.java

Modified: click/trunk/click/framework/src/org/apache/click/control/Table.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/Table.java?rev=929944&r1=929943&r2=929944&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/Table.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/Table.java Thu Apr  1 12:37:41 2010
@@ -22,6 +22,7 @@ import java.util.ArrayList;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.HashSet;
+import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
@@ -1793,7 +1794,7 @@ public class Table extends AbstractContr
                 lastRow = String.valueOf(getLastRow());
             }
 
-            String[] args = { rowCountStr, firstRow, lastRow};
+            Object[] args = { rowCountStr, firstRow, lastRow};
 
             if (getPageSize() > 0) {
                 buffer.append(getMessage("table-page-banner", args));
@@ -1891,7 +1892,7 @@ public class Table extends AbstractContr
                 lastLabel = link.toString();
             }
 
-            String[] args =
+            Object[] args =
                 { firstLabel, previousLabel, pageLinks, nextLabel, lastLabel };
 
             if (getShowBanner()) {