click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r930857 - /click/trunk/click/framework/src/org/apache/click/control/TablePaginator.java
Date Mon, 05 Apr 2010 13:20:54 GMT
Author: sabob
Date: Mon Apr  5 13:20:53 2010
New Revision: 930857

URL: http://svn.apache.org/viewvc?rev=930857&view=rev
Log:
java 5

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

Modified: click/trunk/click/framework/src/org/apache/click/control/TablePaginator.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/TablePaginator.java?rev=930857&r1=930856&r2=930857&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/TablePaginator.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/TablePaginator.java Mon Apr 
5 13:20:53 2010
@@ -38,7 +38,7 @@ public class TablePaginator implements R
     /** The parent table to provide paginator for. */
     protected Table table;
 
-    // ----------------------------------------------------------- Constructors
+    // Constructors -----------------------------------------------------------
 
     /**
      * Create a Paginator for the given Table.
@@ -49,7 +49,7 @@ public class TablePaginator implements R
         setTable(table);
     }
 
-    // --------------------------------------------------------- Public Methods
+    // Public Methods ---------------------------------------------------------
 
     /**
      * Return the parent Table for this Paginator.
@@ -100,7 +100,7 @@ public class TablePaginator implements R
                 lastRow = String.valueOf(table.getLastRow());
             }
 
-            String[] args = { rowCountStr, firstRow, lastRow};
+            Object[] args = { rowCountStr, firstRow, lastRow};
 
             if (table.getPageSize() > 0) {
                 buffer.append(table.getMessage("table-page-banner", args));
@@ -184,7 +184,7 @@ public class TablePaginator implements R
                 lastLabel = controlLink.toString();
             }
 
-            String[] args =
+            Object[] args =
                 { firstLabel, previousLabel, pageLinks, nextLabel, lastLabel };
 
             if (table.getShowBanner()) {
@@ -205,6 +205,7 @@ public class TablePaginator implements R
      *
      * @return the HTML representation of this paginator
      */
+    @Override
     public String toString() {
         HtmlStringBuffer buffer = new HtmlStringBuffer();
 



Mime
View raw message