jenkins merging release branch into master (strategy: theirs)
[cdm-vaadin.git] / src / main / java / eu / etaxonomy / cdm / vaadin / util / CdmVaadinSessionUtilities.java
index 8d5746a6fcfe6c759be29b390ee33f8547b911f0..51b15f31e08655b64ff64d82e79ba069773dd90f 100644 (file)
@@ -1,4 +1,3 @@
-// $Id$
 /**
 * Copyright (C) 2015 EDIT
 * European Distributed Institute of Taxonomy
@@ -43,9 +42,9 @@ public class CdmVaadinSessionUtilities {
     }
 
     public static void initCdmDataChangeService() {
-        if(getCurrentCdmDataChangeService() != null) {
-           logger.info("replacing data change service with new one");
-        }
+//        if(getCurrentCdmDataChangeService() != null) {
+//           logger.info("replacing data change service with new one");
+//        }
         setCurrentAttribute(CdmDataChangeService.KEY, new CdmDataChangeService());
     }
 
@@ -54,9 +53,9 @@ public class CdmVaadinSessionUtilities {
     }
 
     public static void initSelectionService() {
-        if(getCurrentSelectionService() != null) {
-            logger.info("replacing selection service with new one");
-        }
+//        if(getCurrentSelectionService() != null) {
+//            logger.info("replacing selection service with new one");
+//        }
         setCurrentAttribute(SelectionService.KEY, new SelectionService());
     }
 
@@ -65,9 +64,9 @@ public class CdmVaadinSessionUtilities {
     }
 
     public static void initBasicEventService() {
-        if(getCurrentBasicEventService() != null) {
-            logger.info("replacing basic event service with new one");
-        }
+//        if(getCurrentBasicEventService() != null) {
+//            logger.info("replacing basic event service with new one");
+//        }
         setCurrentAttribute(BasicEventService.KEY, new BasicEventService());
     }