diff --git a/src/main/java/eu/europa/ted/eforms/sdk/analysis/fact/LabelFact.java b/src/main/java/eu/europa/ted/eforms/sdk/analysis/fact/LabelFact.java index a4dad77..c97e1a1 100644 --- a/src/main/java/eu/europa/ted/eforms/sdk/analysis/fact/LabelFact.java +++ b/src/main/java/eu/europa/ted/eforms/sdk/analysis/fact/LabelFact.java @@ -18,7 +18,7 @@ public String getId() { public String getNormalizedId() { String id = label.getId(); - return id.trim().toLowerCase().replaceAll("[-_\\.]", ""); + return id.strip().toLowerCase().replaceAll("[-_\\.]", ""); } @Override