From 1b59070d275472b9685154a00af28b91a9ae01cf Mon Sep 17 00:00:00 2001 From: enikey Date: Wed, 24 Dec 2008 09:15:47 +0000 Subject: [PATCH] [Refactoring] Unused part of code in constructor (dublicating code) removed. Unused getBPP() method removed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3458 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tightvnc/decoder/RawDecoder.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/java/src/com/tightvnc/decoder/RawDecoder.java b/java/src/com/tightvnc/decoder/RawDecoder.java index affdc679..f093b726 100644 --- a/java/src/com/tightvnc/decoder/RawDecoder.java +++ b/java/src/com/tightvnc/decoder/RawDecoder.java @@ -23,9 +23,6 @@ public class RawDecoder { public RawDecoder(Graphics g, RfbInputStream is) { setGraphics(g); setRfbInputStream(is); - // FIXME: cm24 created in getColorModel24. - // Remove if no bugs - cm24 = new DirectColorModel(24, 0xFF0000, 0x00FF00, 0x0000FF); } public RawDecoder(Graphics g, RfbInputStream is, int frameBufferW, @@ -72,14 +69,6 @@ public class RawDecoder { dos = os; } - // - // FIXME: This method may be useless in future, remove if so - // - - public int getBPP() { - return bytesPerPixel; - } - // // Decodes Raw Pixels data and draw it into graphics // -- 2.39.5