From d9ade18bda9cdb693817433a1c52dcf05be3c6d6 Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Wed, 18 Jun 2008 11:27:50 +0000 Subject: 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 --- java/src/com/tightvnc/rfbplayer/FbsInputStream.java | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'java') 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(); -- cgit v1.2.3