summaryrefslogtreecommitdiff
path: root/awt/javax/imageio/stream/MemoryCacheImageInputStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'awt/javax/imageio/stream/MemoryCacheImageInputStream.java')
-rw-r--r--awt/javax/imageio/stream/MemoryCacheImageInputStream.java28
1 files changed, 17 insertions, 11 deletions
diff --git a/awt/javax/imageio/stream/MemoryCacheImageInputStream.java b/awt/javax/imageio/stream/MemoryCacheImageInputStream.java
index a3d470b01cd3..d7fc79139cec 100644
--- a/awt/javax/imageio/stream/MemoryCacheImageInputStream.java
+++ b/awt/javax/imageio/stream/MemoryCacheImageInputStream.java
@@ -15,7 +15,6 @@
* limitations under the License.
*/
-
package javax.imageio.stream;
import org.apache.harmony.x.imageio.stream.RandomAccessMemoryCache;
@@ -24,22 +23,29 @@ import java.io.IOException;
import java.io.InputStream;
/**
- * The MemoryCacheImageInputStream class implements ImageInputStream
- * using a memory buffer for caching the data.
+ * The MemoryCacheImageInputStream class implements ImageInputStream using a
+ * memory buffer for caching the data.
+ *
+ * @since Android 1.0
*/
-public class MemoryCacheImageInputStream extends ImageInputStreamImpl {
-
- /** The is. */
+public class MemoryCacheImageInputStream extends ImageInputStreamImpl {
+
+ /**
+ * The is.
+ */
private InputStream is;
-
- /** The ramc. */
+
+ /**
+ * The ramc.
+ */
private RandomAccessMemoryCache ramc = new RandomAccessMemoryCache();
/**
- * Instantiates a new MemoryCacheImageInputStream
- * which reads from the specified InputStream.
+ * Instantiates a new MemoryCacheImageInputStream which reads from the
+ * specified InputStream.
*
- * @param stream the InputStream to be read.
+ * @param stream
+ * the InputStream to be read.
*/
public MemoryCacheImageInputStream(InputStream stream) {
if (stream == null) {