Skip to content

Commit 7a05b0c

Browse files
committed
refactor(SeriesImportServiceImpl.addRequest): modify assertion error message.
No functional changes.
1 parent f061cbb commit 7a05b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/feature/series/importing/SeriesImportServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class SeriesImportServiceImpl implements SeriesImportService {
7070
public Integer addRequest(RequestImportDto dto, Integer userId) {
7171
Validate.isTrue(dto != null, "DTO must be non null");
7272
Validate.isTrue(dto.getUrl() != null, "URL must be non null");
73-
Validate.isTrue(userId != null, "Current user id must be non null");
73+
Validate.isTrue(userId != null, "User id must be non null");
7474

7575
ImportSeriesDbDto importRequest = new ImportSeriesDbDto();
7676
importRequest.setStatus(SeriesImportRequestStatus.UNPROCESSED);

0 commit comments

Comments
 (0)