Return-Path: Delivered-To: apmail-incubator-roller-commits-archive@www.apache.org Received: (qmail 99425 invoked from network); 10 Aug 2006 17:33:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 17:33:45 -0000 Received: (qmail 264 invoked by uid 500); 10 Aug 2006 17:33:45 -0000 Delivered-To: apmail-incubator-roller-commits-archive@incubator.apache.org Received: (qmail 237 invoked by uid 500); 10 Aug 2006 17:33:45 -0000 Mailing-List: contact roller-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: roller-dev@incubator.apache.org Delivered-To: mailing list roller-commits@incubator.apache.org Received: (qmail 226 invoked by uid 99); 10 Aug 2006 17:33:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 10:33:45 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 10:33:44 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 2253A1A981A; Thu, 10 Aug 2006 10:33:18 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r430449 - in /incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers: WeblogEntriesDayPager.java WeblogEntriesLatestPager.java WeblogEntriesMonthPager.java Date: Thu, 10 Aug 2006 17:33:17 -0000 To: roller-commits@incubator.apache.org From: agilliland@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060810173318.2253A1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: agilliland Date: Thu Aug 10 10:33:16 2006 New Revision: 430449 URL: http://svn.apache.org/viewvc?rev=430449&view=rev Log: fixing slight bug that would leave an empty day entry in the map. Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesDayPager.java incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesLatestPager.java incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesMonthPager.java Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesDayPager.java URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesDayPager.java?rev=430449&r1=430448&r2=430449&view=diff ============================================================================== --- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesDayPager.java (original) +++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesDayPager.java Thu Aug 10 10:33:16 2006 @@ -130,7 +130,9 @@ } // done with that day, put it in the map - entries.put(key, wrapped); + if(wrapped.size() > 0) { + entries.put(key, wrapped); + } } Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesLatestPager.java URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesLatestPager.java?rev=430449&r1=430448&r2=430449&view=diff ============================================================================== --- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesLatestPager.java (original) +++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesLatestPager.java Thu Aug 10 10:33:16 2006 @@ -95,7 +95,9 @@ } // done with that day, put it in the map - entries.put(key, wrapped); + if(wrapped.size() > 0) { + entries.put(key, wrapped); + } } } catch (Exception e) { log.error("ERROR: getting entry month map", e); Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesMonthPager.java URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesMonthPager.java?rev=430449&r1=430448&r2=430449&view=diff ============================================================================== --- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesMonthPager.java (original) +++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/pagers/WeblogEntriesMonthPager.java Thu Aug 10 10:33:16 2006 @@ -125,7 +125,9 @@ } // done with that day, put it in the map - entries.put(key, wrapped); + if(wrapped.size() > 0) { + entries.put(key, wrapped); + } } } catch (Exception e) { log.error("ERROR: getting entry month map", e);