incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klich...@apache.org
Subject svn commit: r834613 - /incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/util/WebappUtil.java
Date Tue, 10 Nov 2009 19:19:21 GMT
Author: klichong
Date: Tue Nov 10 19:19:21 2009
New Revision: 834613

URL: http://svn.apache.org/viewvc?rev=834613&view=rev
Log:
reapplying changes from revision 831489 - making getPagedList generic for Olio issue 107

Modified:
    incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/util/WebappUtil.java

Modified: incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/util/WebappUtil.java
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/util/WebappUtil.java?rev=834613&r1=834612&r2=834613&view=diff
==============================================================================
--- incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/util/WebappUtil.java
(original)
+++ incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/util/WebappUtil.java
Tue Nov 10 19:19:21 2009
@@ -406,7 +406,7 @@
         return strb.toString();
     }
     
-    public static List<SocialEvent> getPagedList (List<SocialEvent> list, int
index) {
+    public static List<SocialEvent> getPagedList (List list, int index) {
         int size = list.size();
         int numPages = getNumPages(list);
         if (size <= WebappConstants.ITEMS_PER_PAGE) {
@@ -422,7 +422,7 @@
         if (endIndex > size)
             endIndex = size;
 
-        List<SocialEvent> slist = list.subList(startIndex, endIndex);
+        List slist = list.subList(startIndex, endIndex);
         return slist;
     }
     



Mime
View raw message