diff options
| author | Bruce Momjian <bruce@momjian.us> | 2001-11-19 22:33:39 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2001-11-19 22:33:39 +0000 |
| commit | f3148bef9f9bb43447fbc13d3791734211ac59bc (patch) | |
| tree | 8cc8e564ed6b7cffefd57d41e715870ee54cef5e /src/interfaces/jdbc/org/postgresql/largeobject/BlobInputStream.java | |
| parent | 8f6f16929a3f2ce41ee988cc023fd550c89cba3b (diff) | |
| download | postgresql-f3148bef9f9bb43447fbc13d3791734211ac59bc.tar.gz | |
JDBC indenting, comment cleanups.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/largeobject/BlobInputStream.java')
| -rw-r--r-- | src/interfaces/jdbc/org/postgresql/largeobject/BlobInputStream.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/largeobject/BlobInputStream.java b/src/interfaces/jdbc/org/postgresql/largeobject/BlobInputStream.java index 74c83b98a8..0e508cfd32 100644 --- a/src/interfaces/jdbc/org/postgresql/largeobject/BlobInputStream.java +++ b/src/interfaces/jdbc/org/postgresql/largeobject/BlobInputStream.java @@ -4,39 +4,39 @@ import java.io.InputStream; import java.io.IOException; import java.sql.SQLException; -/** +/* * This is an initial implementation of an InputStream from a large object. * For now, the bare minimum is implemented. Later (after 7.1) we will overide * the other read methods to optimise them. */ public class BlobInputStream extends InputStream { - /** + /* * The parent LargeObject */ private LargeObject lo; - /** + /* * Buffer used to improve performance */ private byte[] buffer; - /** + /* * Position within buffer */ private int bpos; - /** + /* * The buffer size */ private int bsize; - /** + /* * The mark position */ private int mpos = 0; - /** + /* * @param lo LargeObject to read from */ public BlobInputStream(LargeObject lo) @@ -44,7 +44,7 @@ public class BlobInputStream extends InputStream this(lo, 1024); } - /** + /* * @param lo LargeObject to read from * @param bsize buffer size */ @@ -56,7 +56,7 @@ public class BlobInputStream extends InputStream this.bsize = bsize; } - /** + /* * The minimum required to implement input stream */ public int read() throws java.io.IOException @@ -92,7 +92,7 @@ public class BlobInputStream extends InputStream } - /** + /* * Closes this input stream and releases any system resources associated * with the stream. * @@ -114,7 +114,7 @@ public class BlobInputStream extends InputStream } } - /** + /* * Marks the current position in this input stream. A subsequent call to * the <code>reset</code> method repositions this stream at the last marked * position so that subsequent reads re-read the same bytes. @@ -150,7 +150,7 @@ public class BlobInputStream extends InputStream } } - /** + /* * Repositions this stream to the position at the time the * <code>mark</code> method was last called on this input stream. * NB: If mark is not called we move to the begining. @@ -170,7 +170,7 @@ public class BlobInputStream extends InputStream } } - /** + /* * Tests if this input stream supports the <code>mark</code> and * <code>reset</code> methods. The <code>markSupported</code> method of * <code>InputStream</code> returns <code>false</code>. |
