From: Aron Roberts Date: Mon, 17 Mar 2014 20:28:19 +0000 (-0700) Subject: CSPACE-6329: Remove portion of behavior description in Javadoc comment, believed... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=f6f679aa33a72a6b7e70c1de2ffd0336593dfccd;p=tmp%2Fjakarta-migration.git 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(). --- 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) {