private static void addProposalCommitteeeSummary(final String processedIn, final List<ProposalCommitteeeSummary> summary,
			final DocumentStatusContainer document) {
		if (document.getDocumentProposal() != null && document.getDocumentProposal().getProposal() != null) {

			final DocumentProposalData proposal = document.getDocumentProposal().getProposal();

			if (proposal.getProcessedIn() != null && !proposal.getProcessedIn().isEmpty()
					&& proposal.getCommittee() != null && !proposal.getCommittee().isEmpty()
					&& proposal.getProcessedIn().contains(processedIn) && proposal.getChamber().length() <= "återförvisning till utskottet".length() && proposal.getChamber().length() >= "avslag".length()) {
				
				summary.add(new ProposalCommitteeeSummary(getCommittteeShortName(proposal), getDocumentName(document) , cleanupDecision(proposal.getChamber()) , document.getDocument().getHangarId()));

			}
		}
	}
private static void addProposalCommitteeeSummary(final String processedIn, final List<ProposalCommitteeeSummary> summary,
			final DocumentStatusContainer document) {
		if (document.getDocumentProposal() != null && document.getDocumentProposal().getProposal() != null) {

			final DocumentProposalData proposal = document.getDocumentProposal().getProposal();

			if (proposal.getProcessedIn() != null && !proposal.getProcessedIn().isEmpty()
					&& proposal.getCommittee() != null && !proposal.getCommittee().isEmpty()
					&& proposal.getProcessedIn().contains(processedIn) && proposal.getChamber().length() <= "återförvisning till utskottet".length() && proposal.getChamber().length() >= "avslag".length()) {
				
				summary.add(new ProposalCommitteeeSummary(getCommittteeShortName(proposal), getDocumentName(document) , cleanupDecision(proposal.getChamber()) , document.getDocument().getHangarId()));

			}
		}
	}
private static void addProposalCommitteeeSummary ( final String processedIn , final List < ProposalCommitteeeSummary > summary , final DocumentStatusContainer document ) { if ( document . getDocumentProposal ( ) != null && document . getDocumentProposal ( ) . getProposal ( ) != null ) { final DocumentProposalData proposal = document . getDocumentProposal ( ) . getProposal ( ) ; if ( proposal . getProcessedIn ( ) != null && ! proposal . getProcessedIn ( ) . isEmpty ( ) && proposal . getCommittee ( ) != null && ! proposal . getCommittee ( ) . isEmpty ( ) && proposal . getProcessedIn ( ) . contains ( processedIn ) && proposal . getChamber ( ) . length ( ) <= "återförvisning till utskottet".l e ngth() &  p oposal.g e tChamber() . l e ngth() >  " vslag".l e ngth() ) { summary . add ( new ProposalCommitteeeSummary ( getCommittteeShortName ( proposal ) , getDocumentName ( document ) , cleanupDecision ( proposal . getChamber ( ) ) , document . getDocument ( ) . getHangarId ( ) ) ) ; } } }
Adds the proposal committeee summary.

@param processedIn
the processed in
@param summary
the summary
@param document
the document
Adds the proposal committeee summary .