You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2022/11/09 00:30:23 UTC
[ws-axiom] branch master updated: [AXIOM-506] Remove reference to the legacy Attachments API
This is an automated email from the ASF dual-hosted git repository.
veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git
The following commit(s) were added to refs/heads/master by this push:
new 1a8472b55 [AXIOM-506] Remove reference to the legacy Attachments API
1a8472b55 is described below
commit 1a8472b55cc9d02e48bc4d99436b682aa11b0a2c
Author: Andreas Veithen <an...@gmail.com>
AuthorDate: Wed Nov 9 00:30:15 2022 +0000
[AXIOM-506] Remove reference to the legacy Attachments API
---
axiom-api/src/main/java/org/apache/axiom/om/OMXMLParserWrapper.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/axiom-api/src/main/java/org/apache/axiom/om/OMXMLParserWrapper.java b/axiom-api/src/main/java/org/apache/axiom/om/OMXMLParserWrapper.java
index f7a81e2ba..619528858 100644
--- a/axiom-api/src/main/java/org/apache/axiom/om/OMXMLParserWrapper.java
+++ b/axiom-api/src/main/java/org/apache/axiom/om/OMXMLParserWrapper.java
@@ -26,7 +26,7 @@ import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.sax.SAXSource;
import javax.xml.transform.stream.StreamSource;
-import org.apache.axiom.attachments.Attachments;
+import org.apache.axiom.mime.MultipartBody;
import org.w3c.dom.Node;
/** Interface OMXMLParserWrapper */
@@ -119,8 +119,8 @@ public interface OMXMLParserWrapper {
* <td>The object model is built completely.</td>
* </tr>
* <tr>
- * <td>{@link Attachments}</td>
- * <td>All MIME parts are fetched so that the stream from which the {@link Attachments} object
+ * <td>{@link MultipartBody}</td>
+ * <td>All MIME parts are fetched so that the stream from which the {@link MultipartBody} object
* has been created can safely be closed.</td>
* </tr>
* </table>