click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r929944 - /click/trunk/click/framework/src/org/apache/click/control/Table.java
Date Thu, 01 Apr 2010 12:37:41 GMT
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()) {



Mime
View raw message