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 2018/10/14 16:41:25 UTC
svn commit: r1843851 -
/webservices/axiom/trunk/components/base64-utils/src/main/java/org/apache/axiom/util/base64/AbstractBase64EncodingOutputStream.java
Author: veithen
Date: Sun Oct 14 16:41:24 2018
New Revision: 1843851
URL: http://svn.apache.org/viewvc?rev=1843851&view=rev
Log:
Avoid unnecessary reference to javax.activation.
Modified:
webservices/axiom/trunk/components/base64-utils/src/main/java/org/apache/axiom/util/base64/AbstractBase64EncodingOutputStream.java
Modified: webservices/axiom/trunk/components/base64-utils/src/main/java/org/apache/axiom/util/base64/AbstractBase64EncodingOutputStream.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/components/base64-utils/src/main/java/org/apache/axiom/util/base64/AbstractBase64EncodingOutputStream.java?rev=1843851&r1=1843850&r2=1843851&view=diff
==============================================================================
--- webservices/axiom/trunk/components/base64-utils/src/main/java/org/apache/axiom/util/base64/AbstractBase64EncodingOutputStream.java (original)
+++ webservices/axiom/trunk/components/base64-utils/src/main/java/org/apache/axiom/util/base64/AbstractBase64EncodingOutputStream.java Sun Oct 14 16:41:24 2018
@@ -22,8 +22,6 @@ package org.apache.axiom.util.base64;
import java.io.IOException;
import java.io.OutputStream;
-import javax.activation.DataHandler;
-
/**
* Base class for {@link OutputStream} implementations that encode data in base64.
*/
@@ -40,8 +38,8 @@ public abstract class AbstractBase64Enco
* @param ignoreFlush
* Specifies if calls to {@link #flush()} should be ignored. Setting this to
* <code>true</code> is particular useful in conjunction with
- * {@link DataHandler#writeTo(OutputStream)}: that method may call {@link #flush()}
- * after writing the data, but the call to {@link DataHandler#writeTo(OutputStream)}
+ * {@code DataHandler.writeTo(OutputStream)}: that method may call {@link #flush()}
+ * after writing the data, but the call to {@code DataHandler.writeTo(OutputStream)}
* must be followed by a call to {@link #close()} or {@link #complete()} which would
* then output a single chunk with a few bytes. In some cases this may be
* inconvenient.