From c95aee14a7c15f022d291a1bf8aa14fdab3952b2 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Mon, 18 Nov 2019 20:19:06 +0800 Subject: [PATCH] Update PostServiceImpl.java --- src/main/java/run/halo/app/service/impl/PostServiceImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/run/halo/app/service/impl/PostServiceImpl.java b/src/main/java/run/halo/app/service/impl/PostServiceImpl.java index 9581cb45d..e790af772 100644 --- a/src/main/java/run/halo/app/service/impl/PostServiceImpl.java +++ b/src/main/java/run/halo/app/service/impl/PostServiceImpl.java @@ -16,7 +16,6 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.Assert; import run.halo.app.event.logger.LogEvent; -import run.halo.app.event.post.PostSaveBeforeEvent; import run.halo.app.event.post.PostVisitEvent; import run.halo.app.model.dto.CategoryDTO; import run.halo.app.model.dto.TagDTO; @@ -52,7 +51,6 @@ import static org.springframework.data.domain.Sort.Direction.DESC; */ @Slf4j @Service -@Deprecated public class PostServiceImpl extends BasePostServiceImpl implements PostService { private final PostRepository postRepository;