You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2006/10/18 19:47:54 UTC
svn commit: r465313 -
/incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/apps/app1/ResourceTestPage.java
Author: ehillenius
Date: Wed Oct 18 10:47:53 2006
New Revision: 465313
URL: http://svn.apache.org/viewvc?view=rev&rev=465313
Log:
al's patch
Modified:
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/apps/app1/ResourceTestPage.java
Modified: incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/apps/app1/ResourceTestPage.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/apps/app1/ResourceTestPage.java?view=diff&rev=465313&r1=465312&r2=465313
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/apps/app1/ResourceTestPage.java (original)
+++ incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/apps/app1/ResourceTestPage.java Wed Oct 18 10:47:53 2006
@@ -31,8 +31,11 @@
* @author almaw
*/
public class ResourceTestPage extends WebPage {
+
+ public static final int IMAGES_PER_PAGE = 20;
+
public ResourceTestPage() {
- List list = Arrays.asList(new Object[500]);
+ List list = Arrays.asList(new Object[IMAGES_PER_PAGE]);
add(new ListView("listView", list) {
@Override