click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r931093 - /click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java
Date Tue, 06 Apr 2010 11:28:34 GMT
Author: sabob
Date: Tue Apr  6 11:28:33 2010
New Revision: 931093

URL: http://svn.apache.org/viewvc?rev=931093&view=rev
Log:
java5

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java?rev=931093&r1=931092&r2=931093&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java
(original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/TableInlinePaginator.java
Tue Apr  6 11:28:33 2010
@@ -50,6 +50,7 @@ public class TableInlinePaginator extend
          * Messages are defined in the resource bundle:
          * <tt>org/apache/click/extras/control/TableInlinePaginator.properties</tt>.
          */
+        @Override
         public Map getMessages() {
             if (messages == null) {
                 messages = new MessagesMap(TableInlinePaginator.class, "");
@@ -58,7 +59,7 @@ public class TableInlinePaginator extend
         }
     };
 
-    // ----------------------------------------------------------- Constructors
+    // Constructors -----------------------------------------------------------
 
     /**
      * Create a Paginator for the given Table.
@@ -74,6 +75,7 @@ public class TableInlinePaginator extend
      *
      * @param buffer the string buffer to render the paginator to
      */
+    @Override
     public void render(HtmlStringBuffer buffer) {
         final Table table = getTable();
 
@@ -189,7 +191,7 @@ public class TableInlinePaginator extend
 
         final String pageLinks = pagesBuffer.toString();
 
-        final String[] args =
+        final Object[] args =
             { firstLabel, previousLabel, pageLinks, nextLabel, lastLabel };
 
         buffer.append(paginatorMessages.getMessage("table-inline-page-links", args));



Mime
View raw message