Author: mwiederkehr
Date: Mon Jan 19 16:13:36 2009
New Revision: 735883
URL: http://svn.apache.org/viewvc?rev=735883&view=rev
Log:
fixed typos in javadoc
Modified:
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Disposable.java
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Entity.java
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Multipart.java
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/SingleBody.java
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/storage/StorageOutputStream.java
Modified:
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Disposable.java
URL:
http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Disposable.java?rev=735883&r1=735882&r2=735883&view=diff
==============================================================================
---
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Disposable.java
(original)
+++
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Disposable.java
Mon Jan 19 16:13:36 2009
@@ -20,7 +20,7 @@
package org.apache.james.mime4j.message;
/**
- * A <tt>Disposable</tt> is an object that should be disposed explicitly
+ * A <tt>Disposable</tt> is an object that should be disposed of explicitly
* when it is no longer needed.
*
* The dispose method is invoked to release resources that the object is
@@ -29,7 +29,7 @@
public interface Disposable {
/**
* Free any resources this object is holding and prepares this object
- * for garbage collection. Once an object has been disposed it can no
+ * for garbage collection. Once an object has been disposed of it can no
* longer be used.
*/
void dispose();
Modified:
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Entity.java
URL:
http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Entity.java?rev=735883&r1=735882&r2=735883&view=diff
==============================================================================
---
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Entity.java
(original)
+++
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Entity.java
Mon Jan 19 16:13:36 2009
@@ -370,8 +370,8 @@
}
/**
- * Disposes the body of this entity. Note that the dispose call does not
get
- * forwarded to the parent entity of this Entity.
+ * Disposes of the body of this entity. Note that the dispose call does not
+ * get forwarded to the parent entity of this Entity.
*
* Subclasses that need to free resources should override this method and
* invoke super.dispose().
Modified:
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Multipart.java
URL:
http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Multipart.java?rev=735883&r1=735882&r2=735883&view=diff
==============================================================================
---
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Multipart.java
(original)
+++
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Multipart.java
Mon Jan 19 16:13:36 2009
@@ -327,8 +327,8 @@
}
/**
- * Disposes the BodyParts of this Multipart. Note that the dispose call
does
- * not get forwarded to the parent entity of this Multipart.
+ * Disposes of the BodyParts of this Multipart. Note that the dispose call
+ * does not get forwarded to the parent entity of this Multipart.
*
* @see org.apache.james.mime4j.message.Disposable#dispose()
*/
Modified:
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/SingleBody.java
URL:
http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/SingleBody.java?rev=735883&r1=735882&r2=735883&view=diff
==============================================================================
---
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/SingleBody.java
(original)
+++
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/SingleBody.java
Mon Jan 19 16:13:36 2009
@@ -55,7 +55,7 @@
* shared between multiple copies of a <code>SingleBody</code>.</li>
* <li>If the underlying content is shared by multiple copies the
* implementation has to make sure that the content gets deleted when the
- * last copy gets disposed (and not before that).</li>
+ * last copy gets disposed of (and not before that).</li>
* </ul>
* <p>
* This implementation always throws an
Modified:
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/storage/StorageOutputStream.java
URL:
http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/storage/StorageOutputStream.java?rev=735883&r1=735882&r2=735883&view=diff
==============================================================================
---
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/storage/StorageOutputStream.java
(original)
+++
james/mime4j/trunk/src/main/java/org/apache/james/mime4j/storage/StorageOutputStream.java
Mon Jan 19 16:13:36 2009
@@ -49,14 +49,14 @@
/**
* Closes this output stream if it has not already been closed and returns
a
- * {...@link Storage} object contains the bytes that have been written to
this
- * output stream.
+ * {...@link Storage} object which contains the bytes that have been
written to
+ * this output stream.
* <p>
* Note that this method may not be invoked a second time. This is because
* for some implementations it is not possible to create another
* <code>Storage</code> object that can be read from and deleted
* independently (e.g. if the implementation writes to a file).
- *
+ *
* @return a <code>Storage</code> object as described above.
* @throws IOException
* if an I/O error occurs.
@@ -125,7 +125,7 @@
* <p>
* This implementation never throws an {...@link IOException} but a
subclass
* might.
- *
+ *
* @throws IOException
* if an I/O error occurs.
*/
@@ -141,7 +141,7 @@
* {...@link #write(byte[], int, int)}. All the required preconditions have
* already been checked by these methods, including the check if the output
* stream has already been closed.
- *
+ *
* @param buffer
* buffer containing bytes to write.
* @param offset
@@ -160,7 +160,7 @@
* <code>StorageOutputStream</code>. This method gets called by
* {...@link #toStorage()} after the preconditions have been checked. The
* implementation can also be sure that this methods gets invoked only
once.
- *
+ *
* @return a <code>Storage</code> object as described above.
* @throws IOException
* if an I/O error occurs.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]