diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
index 5d10d39..671fd1c 100644
--- a/.settings/org.eclipse.wst.common.component
+++ b/.settings/org.eclipse.wst.common.component
@@ -3,7 +3,7 @@
-
+
uses
diff --git a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/json/input/others/TimeSeriesBean.java b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/json/input/others/TimeSeriesBean.java
index 972ca58..1332299 100644
--- a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/json/input/others/TimeSeriesBean.java
+++ b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/json/input/others/TimeSeriesBean.java
@@ -135,11 +135,11 @@ public class TimeSeriesBean implements Comparable>{
public String toString() {
String value = "" + this.value;
- String unit = this.unit != null ? "Unit : " + this.unit : "";
- String databaseSource = (this.databaseSource != null ? " - DB Source: " + this.databaseSource : "");
- String dataOwner = (this.dataOwner != null ? " - Data Owner: " + this.dataOwner : "");
- String referenceYear = year >= 0 ? " - Ref. Year: " + year : "";
- String reportingYearOrAssessment = (assessment != null ? " - Rep. Year or Assessment Id: " + assessment + "" : "");
+ String unit = (this.unit != null && !this.unit.toString().isEmpty() ? "Unit: " + this.unit : "");
+ String databaseSource = (this.databaseSource != null && !this.databaseSource.toString().isEmpty()? " - DB Source: " + this.databaseSource : "");
+ String dataOwner = (this.dataOwner != null && !this.dataOwner.toString().isEmpty()? " - Data Owner: " + this.dataOwner : "");
+ String referenceYear = year > 0 ? " - Ref. Year: " + year : "";
+ String reportingYearOrAssessment = (assessment != null && !this.assessment.toString().isEmpty()? " - Rep. Year or Assessment Id: " + assessment + "" : "");
String partial = value + " [" +
unit +
reportingYearOrAssessment +