src/main/java/de/otto/teamdojo/service/impl/TeamServiceImpl.java
@Override
    @Transactional(readOnly = true)
    public List<TeamDTO> findAll() {
        log.debug("Request to get all Teams");
        return teamRepository.findAllWithEagerRelationships().stream()
            .map(teamMapper::toDto)
            .collect(Collectors.toCollection(LinkedList::new));
    }
/**
     * Get all the teams.
     *
     * @return the list of entities
     */
Get all the teams.
@return the list of entities
Get all the teams . @return the list of entities
@Override
    @Transactional(readOnly = true)
    public List<TeamDTO> findAll() {
        log.debug("Request to get all Teams");
        return teamRepository.findAllWithEagerRelationships().stream()
            .map(teamMapper::toDto)
            .collect(Collectors.toCollection(LinkedList::new));
    }
@ Override @ Transactional ( readOnly = true ) public List < TeamDTO > findAll ( ) { log . debug ( "Request to get all Teams" ) ; return teamRepository . findAllWithEagerRelationships ( ) . stream ( ) . map ( teamMapper :: toDto ) . collect ( Collectors . toCollection ( LinkedList :: new ) ) ; }
Get all the teams.
Get all the teams .