diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java index c60645ba..5fee84df 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java @@ -1190,13 +1190,13 @@ public abstract class BaseOfficeDataImport extends CsvDataImport { final String firm) { final var result = new StringBuilder(); if (isNotBlank(salut)) - result.append(salut + " "); + result.append((isBlank(result) ? "" : " ") + salut); if (isNotBlank(title)) - result.append(title + " "); + result.append((isBlank(result) ? "" : " ") + title); if (isNotBlank(firstname)) - result.append(firstname + " "); + result.append((isBlank(result) ? "" : " ") + firstname); if (isNotBlank(lastname)) - result.append(lastname + " "); + result.append((isBlank(result) ? "" : " ") + lastname); if (isNotBlank(firm)) { result.append((isBlank(result) ? "" : ", ") + firm); }