From 48d383cedcd9ca298d575b64c476f07c19cfb6e7 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 8 Jun 2014 17:51:51 +0200 Subject: [PATCH] Fix toString(XMLTag) method. --- src/fr/devinsy/util/xml/XMLTools.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fr/devinsy/util/xml/XMLTools.java b/src/fr/devinsy/util/xml/XMLTools.java index a914864..2c74994 100644 --- a/src/fr/devinsy/util/xml/XMLTools.java +++ b/src/fr/devinsy/util/xml/XMLTools.java @@ -359,7 +359,10 @@ public class XMLTools { result = "null"; } - result = "[label=" + source.getLabel() + "][type=" + source.getType().toString() + "][content=" + source.getContent() + "]"; + else + { + result = "[label=" + source.getLabel() + "][type=" + source.getType().toString() + "][content=" + source.getContent() + "]"; + } // return result;