]> source.dussan.org Git - tigervnc.git/commitdiff
Removed unused FbsInputStream constructor, added Javadoc to the remaining constructor.
authorConstantin Kaplinsky <const@tightvnc.com>
Wed, 18 Jun 2008 11:27:50 +0000 (11:27 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Wed, 18 Jun 2008 11:27:50 +0000 (11:27 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2590 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tightvnc/rfbplayer/FbsInputStream.java

index 739e5f0e11a6622f1be1ba22889980245be60710..431ee21e696f805c55c56d8a34aa5b97e9d7aad2 100644 (file)
@@ -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();