aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2008-06-18 11:27:50 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2008-06-18 11:27:50 +0000
commitd9ade18bda9cdb693817433a1c52dcf05be3c6d6 (patch)
tree96434f80826fdb319b020d8ff78b6cecdd1d48b3 /java
parent7b55c4f4183f71a15610e4d1937211f7cf0c9f74 (diff)
downloadtigervnc-d9ade18bda9cdb693817433a1c52dcf05be3c6d6.tar.gz
tigervnc-d9ade18bda9cdb693817433a1c52dcf05be3c6d6.zip
Removed unused FbsInputStream constructor, added Javadoc to the remaining constructor.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2590 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java')
-rw-r--r--java/src/com/tightvnc/rfbplayer/FbsInputStream.java17
1 files changed, 7 insertions, 10 deletions
diff --git a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java
index 739e5f0e..431ee21e 100644
--- a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java
+++ b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java
@@ -43,16 +43,13 @@ class FbsInputStream extends InputStream {
protected Observer obs;
- //
- // Constructors.
- //
- FbsInputStream() throws IOException {
- throw new IOException("FbsInputStream: no such constructor");
- }
-
- //
- // Construct FbsInputStream object, begin playback.
- //
+ /**
+ * Construct FbsInputStream object based on the given InputStream.
+ *
+ * @param in InputStream object that will be used as a base
+ * @throws java.io.IOException thrown on read error or on incorrect file
+ * header signature.
+ */
FbsInputStream(InputStream in) throws IOException {
this.in = in;
startTime = System.currentTimeMillis();