<BUG>String userName, XWikiContext context)</BUG><CONTEXT>public int getEventNumber(){return events.size();}public List<WatchListEvent> getMatchingEvents(List<String> wikis, List<String> spaces, List<String> documents,<extra_id_0>{List<WatchListEvent> matchingEvents = new ArrayList<WatchListEvent>();for (WatchListEvent event : events) {</CONTEXT>
List<String> users, String userName, XWikiContext context)