From 8802efd235db67ead5ecc32642ad7c6cb4af6a03 Mon Sep 17 00:00:00 2001 From: Willem Elbers Date: Thu, 12 Dec 2024 11:32:37 +0100 Subject: [PATCH] Cleanup unused changes --- pom.xml | 5 ----- .../virtualcollectionregistry/model/VirtualCollection.java | 4 ---- 2 files changed, 9 deletions(-) diff --git a/pom.xml b/pom.xml index a863b600..7f7b74fb 100644 --- a/pom.xml +++ b/pom.xml @@ -274,11 +274,6 @@ spring-test ${spring.version} - - org.springframework - spring-tx - ${spring.version} - com.mysql diff --git a/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model/VirtualCollection.java b/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model/VirtualCollection.java index c3c57ae0..ef0edc3d 100644 --- a/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model/VirtualCollection.java +++ b/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/model/VirtualCollection.java @@ -39,7 +39,6 @@ import org.apache.commons.lang.builder.HashCodeBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.transaction.annotation.Transactional; @Entity @Table(name = "virtualcollection") @@ -481,7 +480,6 @@ public void setCreationDate(Date creationDate) { this.creationDate = creationDate; } - //@Transactional public List getCreators() { if (creators == null) { this.creators = new ArrayList(); @@ -521,7 +519,6 @@ public void setReproducibilityNotice(String reproducibilityNotice) { this.reproducibilityNotice = reproducibilityNotice; } - //@Transactional public List getKeywords() { if (keywords == null) { keywords = new ArrayList(); @@ -529,7 +526,6 @@ public List getKeywords() { return keywords; } - //@Transactional public List getResources() { if (resources == null) { resources = new ArrayList();