From f6f679aa33a72a6b7e70c1de2ffd0336593dfccd Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Mon, 17 Mar 2014 13:28:19 -0700 Subject: [PATCH] CSPACE-6329: Remove portion of behavior description in Javadoc comment, believed now to be incorrect, since we're not allowing null values through to dom4j's Element.addAttribute(). --- .../java/org/collectionspace/services/common/XmlTools.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/common/src/main/java/org/collectionspace/services/common/XmlTools.java b/services/common/src/main/java/org/collectionspace/services/common/XmlTools.java index 1763e3e73..4507fb802 100644 --- a/services/common/src/main/java/org/collectionspace/services/common/XmlTools.java +++ b/services/common/src/main/java/org/collectionspace/services/common/XmlTools.java @@ -232,8 +232,7 @@ public class XmlTools { * @param attributeValue The value that the attribute should contain. * @return The document with the specified attribute of the matched element, if * any, set to the provided value. If the attribute doesn't already exist, - * it will be created and assigned the provided value. If the provided - * value is null, the attribute, if any, will be removed. + * it will be created and assigned the provided value. */ public static Document setAttributeValue(Document doc, String xpathExpr, String attributeName, String attributeValue) { -- 2.47.3