@ Override public final synchronized void setSyndFeed ( final SyndFeed feed ) { super . setSyndFeed ( feed ) ; changedMap . clear ( ) ; final List < SyndEntry > entries = feed . getEntries ( ) ; for ( final SyndEntry entry : entries ) { final String currentEntryTag = computeEntryTag ( entry ) ; final String previousEntryTag = entryTagsMap . get ( entry . getUri ( ) ) ; if ( previousEntryTag == null || ! currentEntryTag . equals ( previousEntryTag ) ) { // Entry has changed changedMap . put ( entry . getUri ( ) , Boolean . TRUE ) ; } entryTagsMap . put ( entry . getUri ( ) , currentEntryTag ) ; } }
Overrides super class method to update changedMap and entryTagsMap for tracking changed entries .