From b60a5653704aa090fb557dac21570fa79a48e65a Mon Sep 17 00:00:00 2001
From: Pawel GUTOWSKI <Pawel.GUTOWSKI@ext.ec.europa.eu>
Date: Thu, 18 Jan 2018 16:55:37 +0100
Subject: [PATCH] EDELIVERY-1871 EDELIVERY-1893 Minor refactorings

---
 .../{mysql-3.0_4.0.sql => mysql_3.0_4.0.sql}                    | 0
 .../java/eu/europa/ec/edelivery/smp/data/dao/DomainDao.java     | 2 +-
 .../europa/ec/edelivery/smp/services/ServiceGroupService.java   | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)
 rename smp-server-library/database/migration from 3.0.x to 4.0.0/{mysql-3.0_4.0.sql => mysql_3.0_4.0.sql} (100%)

diff --git a/smp-server-library/database/migration from 3.0.x to 4.0.0/mysql-3.0_4.0.sql b/smp-server-library/database/migration from 3.0.x to 4.0.0/mysql_3.0_4.0.sql
similarity index 100%
rename from smp-server-library/database/migration from 3.0.x to 4.0.0/mysql-3.0_4.0.sql
rename to smp-server-library/database/migration from 3.0.x to 4.0.0/mysql_3.0_4.0.sql
diff --git a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/dao/DomainDao.java b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/dao/DomainDao.java
index 5bafa7c6a..0f8e49333 100644
--- a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/dao/DomainDao.java
+++ b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/dao/DomainDao.java
@@ -29,7 +29,7 @@ public class DomainDao extends BaseDao<DBDomain> {
 
     /**
      * Returns the only single record from smp_domain table.
-     * Returns Optional.empty() if there is 0 or more than 1 records present.
+     * Returns Optional.empty() if there is more than 1 records present.
      *
      * @return the only single record from smp_domain table
      * @throws IllegalStateException if no domain is configured
diff --git a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java
index c8da53166..4b03bcf47 100644
--- a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java
+++ b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java
@@ -23,7 +23,6 @@ import eu.europa.ec.edelivery.smp.exceptions.NotFoundException;
 import eu.europa.ec.edelivery.smp.exceptions.UnknownUserException;
 import eu.europa.ec.edelivery.smp.exceptions.WrongInputFieldException;
 import eu.europa.ec.edelivery.smp.sml.SmlConnector;
-import org.apache.commons.lang3.StringUtils;
 import org.oasis_open.docs.bdxr.ns.smp._2016._05.ParticipantIdentifierType;
 import org.oasis_open.docs.bdxr.ns.smp._2016._05.ServiceGroup;
 import org.slf4j.Logger;
-- 
GitLab