This commit is contained in:
parent
259c15b785
commit
fd4a2c0e83
5 changed files with 31 additions and 22 deletions
|
@ -18,12 +18,12 @@ public class LinkUseCase {
|
|||
private final LinkRepository linkRepository;
|
||||
private final CategoryRepository categoryRepository;
|
||||
private final TaggingUseCase taggingUseCase;
|
||||
private final LinkIdGenerator linkIdGenerator;
|
||||
private final RandomLinkIdGenerator linkIdGenerator;
|
||||
|
||||
public LinkUseCase(LinkRepository linkRepository,
|
||||
CategoryRepository categoryRepository,
|
||||
TaggingUseCase taggingUseCase,
|
||||
LinkIdGenerator linkIdGenerator) {
|
||||
RandomLinkIdGenerator linkIdGenerator) {
|
||||
this.linkRepository = linkRepository;
|
||||
this.categoryRepository = categoryRepository;
|
||||
this.taggingUseCase = taggingUseCase;
|
||||
|
|
|
@ -19,5 +19,4 @@ public class TaggingUseCase {
|
|||
tagMatcherRepository.getTagMatchers().forEach(tagMatcher -> tagMatcher.ifMatches(url).addTo(result));
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue