[jboss-svn-commits] JBL Code SVN: r20173 - labs/jbossforums/branches/forums110P24/forums/src/main/org/jboss/portlet/forums/ui/view.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon May 26 18:09:31 EDT 2008
Author: dejp
Date: 2008-05-26 18:09:30 -0400 (Mon, 26 May 2008)
New Revision: 20173
Modified:
labs/jbossforums/branches/forums110P24/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java
Log:
JBFORUMS-278
Modified: labs/jbossforums/branches/forums110P24/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java
===================================================================
--- labs/jbossforums/branches/forums110P24/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java 2008-05-26 22:08:42 UTC (rev 20172)
+++ labs/jbossforums/branches/forums110P24/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java 2008-05-26 22:09:30 UTC (rev 20173)
@@ -112,7 +112,7 @@
try {
announcements = BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_ANNOUNCE,
- -1,
+ 0,
Integer.MAX_VALUE);
} catch (Exception e) {
JSFUtil.handleException(e);
@@ -137,7 +137,7 @@
try {
announcements= BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_ANNOUNCE,
- -1,
+ 0,
Integer.MAX_VALUE);
if (announcements!=null && announcements.size()>0) {
present = true;
@@ -165,7 +165,7 @@
//ForumsModule fm = this.getForumsModule();
stickyThreads = BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_STICKY,
- -1,
+ 0,
Integer.MAX_VALUE);
} catch (Exception e) {
JSFUtil.handleException(e);
@@ -193,7 +193,7 @@
try {
stickyThreads = BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_STICKY,
- -1,
+ 0,
Integer.MAX_VALUE);
if (stickyThreads!=null && stickyThreads.size()>0) {
present = true;
More information about the jboss-svn-commits
mailing list