diff -r 3e287f361c7a -r 833e0385572a src/main/java/de/uapcore/lightpit/dao/VersionDao.java --- a/src/main/java/de/uapcore/lightpit/dao/VersionDao.java Sun May 17 16:38:04 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/dao/VersionDao.java Mon May 18 21:05:57 2020 +0200 @@ -34,14 +34,7 @@ import java.sql.SQLException; import java.util.List; -public interface VersionDao { - - Version find(int id) throws SQLException; - void save(Version instance) throws SQLException; - boolean update(Version instance) throws SQLException; - default void saveOrUpdate(Version instance) throws SQLException { - if (!update(instance)) save(instance); - } +public interface VersionDao extends GenericDao { /** * Lists all versions for the specified project.