4748495051525354555657
public static PersonDTO providePersonDTO(final boolean withHistory, final boolean historyByCity) { final PersonDTO dto; if (withHistory) { if (historyByCity) { dto = new PersonWithHistoryByCityDTO(); } else { dto = new PersonWithHistoryDTO(); } } else { dto = new PersonDTO();