2 Replies Latest reply on Jan 13, 2010 5:33 AM by alesj

    MutableAttachments.addAttachment is counter-intuitive

    wolfc

      The MutableAttachments API defines a lot of addAttachment functions, which should actually be named setAttachment.

      Because I'm not adding (another) attachment named <name>, but overriding any previous attachment named <name> with a new one. Alternatively it could be called putAttachment (in line with the Map API).