The following document contains the results of PMD's CPD 5.3.5.
File | Line |
---|---|
fr/paris/lutece/plugins/calendar/modules/document/service/search/DocumentCalendarIndexer.java | 108 |
fr/paris/lutece/plugins/calendar/modules/document/service/search/DocumentCalendarIndexer.java | 184 |
String sRoleKey = ""; DocumentFilter docFilter = new DocumentFilter( ); docFilter.setCodeDocumentType( AppPropertiesService.getProperty( PROPERTY_DOCUMENT_CALENDAR_TYPE ) ); for ( fr.paris.lutece.plugins.document.business.Document document : DocumentHome.findByFilter( docFilter, I18nService.getDefaultLocale( ) ) ) { for ( AgendaResource agenda : Utils.getAgendaResourcesWithOccurrences( ) ) { sRoleKey = agenda.getRole( ); String strAgenda = agenda.getId( ); for ( Object oOccurrence : agenda.getAgenda( ).getEvents( ) ) { OccurrenceEvent occurrence = (OccurrenceEvent) oOccurrence; if ( occurrence.getDocumentId( ) == document.getId( ) ) { |