Skip to content
Snippets Groups Projects
Commit 1cfb12ef authored by Piotr Gawron's avatar Piotr Gawron
Browse files

comment dao is no longer needed

parent c8d7c9ee
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!497Resolve "overlays should be defined per project not per map"
...@@ -23,7 +23,6 @@ import org.hibernate.HibernateException; ...@@ -23,7 +23,6 @@ import org.hibernate.HibernateException;
import org.primefaces.model.DefaultTreeNode; import org.primefaces.model.DefaultTreeNode;
import org.primefaces.model.TreeNode; import org.primefaces.model.TreeNode;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import lcsb.mapviewer.annotation.services.MeSHParser; import lcsb.mapviewer.annotation.services.MeSHParser;
...@@ -77,7 +76,6 @@ import lcsb.mapviewer.modelutils.map.ClassTreeNode; ...@@ -77,7 +76,6 @@ import lcsb.mapviewer.modelutils.map.ClassTreeNode;
import lcsb.mapviewer.modelutils.map.ElementUtils; import lcsb.mapviewer.modelutils.map.ElementUtils;
import lcsb.mapviewer.persist.DbUtils; import lcsb.mapviewer.persist.DbUtils;
import lcsb.mapviewer.persist.dao.ProjectDao; 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.map.ModelDao;
import lcsb.mapviewer.persist.dao.user.UserDao; import lcsb.mapviewer.persist.dao.user.UserDao;
import lcsb.mapviewer.services.SecurityException; import lcsb.mapviewer.services.SecurityException;
...@@ -177,12 +175,6 @@ public class ProjectService implements IProjectService { ...@@ -177,12 +175,6 @@ public class ProjectService implements IProjectService {
@Autowired @Autowired
private IMiRNAService mirnaService; private IMiRNAService mirnaService;
/**
* Data access object for comments.
*/
@Autowired
private CommentDao commentDao;
/** /**
* Module that allows to annotate maps. * Module that allows to annotate maps.
*/ */
...@@ -883,23 +875,6 @@ public class ProjectService implements IProjectService { ...@@ -883,23 +875,6 @@ public class ProjectService implements IProjectService {
this.commentService = commentService; 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 * @return the modelAnnotator
* @see #modelAnnotator * @see #modelAnnotator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment