Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl
In directory james.mmbase.org:/tmp/cvs-serv30627/impl
Modified Files:
Tag: b1_5
NewsletterSubscriptionCAOImpl.java
Log Message:
CMSC-1097, Opening Newsletter Management first time gives stacktrace,change
Count to count
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl
See also: http://www.mmbase.org/jira/browse/CMSC-1097
Index: NewsletterSubscriptionCAOImpl.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl/NewsletterSubscriptionCAOImpl.java,v
retrieving revision 1.30.2.1
retrieving revision 1.30.2.2
diff -u -b -r1.30.2.1 -r1.30.2.2
--- NewsletterSubscriptionCAOImpl.java 22 Oct 2008 09:51:07 -0000 1.30.2.1
+++ NewsletterSubscriptionCAOImpl.java 24 Oct 2008 02:25:27 -0000 1.30.2.2
@@ -435,7 +435,7 @@
return subscriptions;
}
- public int CountSubscription(int newsletterId) {
+ public int countSubscription(int newsletterId) {
List<Node> records =
cloud.getNode(newsletterId).getRelatedNodes("subscriptionrecord");
log.debug("Get subscriptions of newsletter:" + newsletterId + " and get
" + records.size() + " records in all");
int subscribers = 0;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs