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 b72c7379b2c6e359f28933ee094d9ce116ecfa2d..4e537875cb011515bda45f20ffaf2849f5727a31 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