From b501519f66b93134e5bdba4e1aeec1e65101efd2 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Fri, 18 Sep 2020 17:20:40 +0300 Subject: [PATCH] Trim whitespace from tech type table data gitlab #93 Change-Id: I72cf316d3e99b35fdfa12e404e62a41a3e1858cf --- .../network/techtype/requests/TechTypeTableData.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.simantics.district.network/src/org/simantics/district/network/techtype/requests/TechTypeTableData.java b/org.simantics.district.network/src/org/simantics/district/network/techtype/requests/TechTypeTableData.java index 4afe5bde..cbedd1ac 100644 --- a/org.simantics.district.network/src/org/simantics/district/network/techtype/requests/TechTypeTableData.java +++ b/org.simantics.district.network/src/org/simantics/district/network/techtype/requests/TechTypeTableData.java @@ -75,7 +75,7 @@ public class TechTypeTableData extends ResourceRead v = r.iterator(); while (h.hasNext() && v.hasNext()) { - String name = h.next().intern(); - String value = v.next(); + String name = h.next().trim().intern(); + String value = v.next().trim(); valueMap.put(name, value); } } -- 2.47.1