- Add more tests to save map

- Add new rest operations for saving map content
- Fix password encoding bug
- Fix bug that allow different users being created with the same password.
This commit is contained in:
Paulo Gustavo Veiga
2012-03-14 01:49:05 -03:00
parent 8716ff4feb
commit eb6aac4a5e
18 changed files with 297 additions and 144 deletions

View File

@@ -147,7 +147,7 @@ public class MindmapManagerImpl
}
public MindMap getMindmapById(int mindmapId) {
return (MindMap) getHibernateTemplate().get(MindMap.class, mindmapId);
return getHibernateTemplate().get(MindMap.class, mindmapId);
}
public MindMap getMindmapByTitle(final String title, final User user) {