Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl In directory james.mmbase.org:/tmp/cvs-serv30440/impl
Modified Files: 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.32 retrieving revision 1.33 diff -u -b -r1.32 -r1.33 --- NewsletterSubscriptionCAOImpl.java 22 Oct 2008 10:07:47 -0000 1.32 +++ NewsletterSubscriptionCAOImpl.java 24 Oct 2008 02:19:03 -0000 1.33 @@ -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 Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs