This patch just clarifies the expectation that the attributes map does
not change once it is passed in.
Change-Id: Ifd22f5cad85d97cd6bc8f408ad22ac634ed6df16
Signed-off-by: Robert Varga <rovarga@cisco.com>
import org.opendaylight.yangtools.yang.common.QName;
public interface AttributesBuilder<B> {
+ /**
+ * Attach a map of attributes. The map is expected to remain unchanged,
+ * otherwise undefined behavior may occur.
+ *
+ * @param attributes Attribute map
+ * @return Builder instance, such that fluent use is possible
+ */
B withAttributes(Map<QName, String> attributes);
}