You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2003/03/20 14:26:43 UTC
cvs commit: xml-axis/java/src/org/apache/axis Message.java
dims 2003/03/20 05:26:43
Modified: java/src/org/apache/axis Message.java
Log:
Clean up javadoc, remove one unused import.
Revision Changes Path
1.95 +7 -9 xml-axis/java/src/org/apache/axis/Message.java
Index: Message.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/Message.java,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- Message.java 5 Mar 2003 18:25:06 -0000 1.94
+++ Message.java 20 Mar 2003 13:26:42 -0000 1.95
@@ -56,7 +56,6 @@
package org.apache.axis;
import org.apache.axis.attachments.Attachments;
-import org.apache.axis.attachments.AttachmentsImpl;
import org.apache.axis.components.logger.LogFactory;
import org.apache.axis.message.SOAPEnvelope;
import org.apache.axis.soap.SOAPConstants;
@@ -133,7 +132,7 @@
/**
* Returns name of the class prividing Attachment Implementation
- * @returns class Name
+ * @return class Name
*/
public static String getAttachmentImplClassName(){
return mAttachmentsImplClassName;
@@ -172,7 +171,7 @@
* containing just the SOAP body (no SOAP-ENV).
*/
public Message(Object initialContents, boolean bodyInStream) {
- setup(initialContents, bodyInStream, (String) null, (String) null, null);
+ setup(initialContents, bodyInStream, null, null, null);
}
/**
@@ -191,7 +190,7 @@
* @param headers Mime Headers.
*/
public Message(Object initialContents, boolean bodyInStream, MimeHeaders headers) {
- setup(initialContents, bodyInStream, (String) null, (String) null, headers);
+ setup(initialContents, bodyInStream, null, null, headers);
}
/**
@@ -205,8 +204,7 @@
*
* @param initialContents may be String, byte[], InputStream, SOAPEnvelope,
* or AxisFault.
- * @param bodyInStream is true if initialContents is an InputStream
- * containing just the SOAP body (no SOAP-ENV).
+ * @param headers Mime Headers.
*/
public Message(Object initialContents, MimeHeaders headers) {
setup(initialContents, true, (String) null, (String) null, headers);
@@ -424,12 +422,12 @@
* <P>If there are no attachments, just an XML stream is
* written out. For those messages that have attachments,
* <CODE>writeTo</CODE> writes a MIME-encoded byte stream.</P>
- * @param out the <CODE>OutputStream</CODE>
+ * @param os the <CODE>OutputStream</CODE>
* object to which this <CODE>SOAPMessage</CODE> object will
* be written
- * @throws SOAPException if there was a problem in
+ * @throws SOAPException if there was a problem in
* externalizing this SOAP message
- * @throws IOException if an I/O error
+ * @throws IOException if an I/O error
* occurs
*/
public void writeTo(java.io.OutputStream os) throws SOAPException, IOException {