citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/DecisionFlowChartManagerImpl.java
private static void addCommiteeSummary(final StringBuilder stringBuilder,
			final Entry<String, List<ProposalCommitteeeSummary>> entry,
			final Optional<ViewRiksdagenCommittee> vewRiksdagenCommittee) {		
		if (vewRiksdagenCommittee.isPresent()) {
			
			final Map<String, List<ProposalCommitteeeSummary>> docTypeMap = entry.getValue().stream()
					.collect(Collectors.groupingBy(ProposalCommitteeeSummary::getDocType));
	
			stringBuilder.append('\n').append(vewRiksdagenCommittee.get().getEmbeddedId().getDetail());
			for (final Entry<String, List<ProposalCommitteeeSummary>> docEntry : docTypeMap.entrySet()) {
				if (docEntry.getKey().length() > 0 && entry.getKey().length() > 0) {					
					addEntry(stringBuilder, entry, docEntry);
				}
			}
		}
	}
private static void addCommiteeSummary(final StringBuilder stringBuilder,
			final Entry<String, List<ProposalCommitteeeSummary>> entry,
			final Optional<ViewRiksdagenCommittee> vewRiksdagenCommittee) {		
		if (vewRiksdagenCommittee.isPresent()) {
			
			final Map<String, List<ProposalCommitteeeSummary>> docTypeMap = entry.getValue().stream()
					.collect(Collectors.groupingBy(ProposalCommitteeeSummary::getDocType));
	
			stringBuilder.append('\n').append(vewRiksdagenCommittee.get().getEmbeddedId().getDetail());
			for (final Entry<String, List<ProposalCommitteeeSummary>> docEntry : docTypeMap.entrySet()) {
				if (docEntry.getKey().length() > 0 && entry.getKey().length() > 0) {					
					addEntry(stringBuilder, entry, docEntry);
				}
			}
		}
	}
private static void addCommiteeSummary ( final StringBuilder stringBuilder , final Entry < String , List < ProposalCommitteeeSummary > > entry , final Optional < ViewRiksdagenCommittee > vewRiksdagenCommittee ) { if ( vewRiksdagenCommittee . isPresent ( ) ) { final Map < String , List < ProposalCommitteeeSummary > > docTypeMap = entry . getValue ( ) . stream ( ) . collect ( Collectors . groupingBy ( ProposalCommitteeeSummary :: getDocType ) ) ; stringBuilder . append ( ' ' ) . append ( vewRiksdagenCommittee . get ( ) . getEmbeddedId ( ) . getDetail ( ) ) ; for ( final Entry < String , List < ProposalCommitteeeSummary > > docEntry : docTypeMap . entrySet ( ) ) { if ( docEntry . getKey ( ) . length ( ) > 0 && entry . getKey ( ) . length ( ) > 0 ) { addEntry ( stringBuilder , entry , docEntry ) ; } } } }
Adds the commitee summary.

@param stringBuilder         the string builder
@param entry                 the entry
@param vewRiksdagenCommittee the vew riksdagen committee
Adds the commitee summary .