From 1cfb12efaa278daf508169c69403cc9ac9cd1c6a Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Mon, 12 Nov 2018 15:59:00 +0100 Subject: [PATCH] comment dao is no longer needed --- .../services/impl/ProjectService.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/service/src/main/java/lcsb/mapviewer/services/impl/ProjectService.java b/service/src/main/java/lcsb/mapviewer/services/impl/ProjectService.java index b72c7379b2..4e537875cb 100644 --- a/service/src/main/java/lcsb/mapviewer/services/impl/ProjectService.java +++ b/service/src/main/java/lcsb/mapviewer/services/impl/ProjectService.java @@ -23,7 +23,6 @@ import org.hibernate.HibernateException; import org.primefaces.model.DefaultTreeNode; import org.primefaces.model.TreeNode; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.transaction.annotation.Transactional; import lcsb.mapviewer.annotation.services.MeSHParser; @@ -77,7 +76,6 @@ import lcsb.mapviewer.modelutils.map.ClassTreeNode; import lcsb.mapviewer.modelutils.map.ElementUtils; import lcsb.mapviewer.persist.DbUtils; import lcsb.mapviewer.persist.dao.ProjectDao; -import lcsb.mapviewer.persist.dao.map.CommentDao; import lcsb.mapviewer.persist.dao.map.ModelDao; import lcsb.mapviewer.persist.dao.user.UserDao; import lcsb.mapviewer.services.SecurityException; @@ -177,12 +175,6 @@ public class ProjectService implements IProjectService { @Autowired private IMiRNAService mirnaService; - /** - * Data access object for comments. - */ - @Autowired - private CommentDao commentDao; - /** * Module that allows to annotate maps. */ @@ -883,23 +875,6 @@ public class ProjectService implements IProjectService { this.commentService = commentService; } - /** - * @return the commentDao - * @see #commentDao - */ - public CommentDao getCommentDao() { - return commentDao; - } - - /** - * @param commentDao - * the commentDao to set - * @see #commentDao - */ - public void setCommentDao(CommentDao commentDao) { - this.commentDao = commentDao; - } - /** * @return the modelAnnotator * @see #modelAnnotator -- GitLab