1.1 --- a/src/main/java/de/uapcore/lightpit/dao/VersionDao.java Sun May 17 16:38:04 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/lightpit/dao/VersionDao.java Mon May 18 21:05:57 2020 +0200 1.3 @@ -34,14 +34,7 @@ 1.4 import java.sql.SQLException; 1.5 import java.util.List; 1.6 1.7 -public interface VersionDao { 1.8 - 1.9 - Version find(int id) throws SQLException; 1.10 - void save(Version instance) throws SQLException; 1.11 - boolean update(Version instance) throws SQLException; 1.12 - default void saveOrUpdate(Version instance) throws SQLException { 1.13 - if (!update(instance)) save(instance); 1.14 - } 1.15 +public interface VersionDao extends GenericDao<Version> { 1.16 1.17 /** 1.18 * Lists all versions for the specified project.