Skip to content

Commit 390c33e

Browse files
authored
Merge pull request iluwatar#661 from hukacode/patch-1
Fix typo
2 parents 5f90b25 + 89bfaf8 commit 390c33e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

converter/src/main/java/com/iluwatar/converter/Converter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public final T convertFromEntity(final U user) {
6868
/**
6969
* @param dtoUsers collection of DTO entities
7070
* @return List of domain representation of provided entities retrieved by
71-
* mapping each of them with the convertion function
71+
* mapping each of them with the conversion function
7272
*/
7373
public final List<U> createFromDtos(final Collection<T> dtoUsers) {
7474
return dtoUsers.stream().map(this::convertFromDto).collect(Collectors.toList());
@@ -77,7 +77,7 @@ public final List<U> createFromDtos(final Collection<T> dtoUsers) {
7777
/**
7878
* @param users collection of domain entities
7979
* @return List of domain representation of provided entities retrieved by
80-
* mapping each of them with the convertion function
80+
* mapping each of them with the conversion function
8181
*/
8282
public final List<T> createFromEntities(final Collection<U> users) {
8383
return users.stream().map(this::convertFromEntity).collect(Collectors.toList());

0 commit comments

Comments
 (0)