cleanup
authorAndreas Müller <a.mueller@bgbm.org>
Sun, 24 May 2020 13:57:50 +0000 (15:57 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Sun, 24 May 2020 13:57:50 +0000 (15:57 +0200)
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/CdmIoBase.java
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/location/Country.java

index dc8834eb71064d4a9b9a4787509c2e5bd4f703b4..44c508fdce37f9680c053b2c4ee4c200d98a9217 100644 (file)
@@ -49,7 +49,6 @@ public abstract class CdmIoBase<STATE extends IoStateBase, RESULT extends IoResu
     public static final boolean INCLUDE_UNPUBLISHED = DaoBase.INCLUDE_UNPUBLISHED;
 
     protected CdmIoBase() {
-        super();
         this.ioName = this.getClass().getSimpleName();
     }
 
@@ -124,8 +123,9 @@ public abstract class CdmIoBase<STATE extends IoStateBase, RESULT extends IoResu
 //     * flush the current session
 //     */
 //    //TODO move into super class CdmApplicationDefaultConfiguration#flush() ?
-//    public void flush() {
-//        sessionFactory.getCurrentSession().flush();
+//    public void flush(TransactionStatus txStatus) {
+//        super.getTransactionManager().getTransaction(txStatus.f).flush();
+////        sessionFactory.getCurrentSession().flush();
 //    }
 
     @Override
index 5099dc77a9bd4fc4a133725df3a69bc316b3d23c..271c8d553d674216e7e3b4d73b5b3dcf578ffa35 100644 (file)
@@ -62,7 +62,8 @@ import eu.etaxonomy.cdm.model.term.TermVocabulary;
 //@Indexed(index = "eu.etaxonomy.cdm.model.term.DefinedTermBase")
 @Audited
 public class Country extends NamedArea {
-       private static final long serialVersionUID = -6791671976199722843L;
+
+    private static final long serialVersionUID = -6791671976199722843L;
        private static final Logger logger = Logger.getLogger(Country.class);
 
        /**