diff options
author | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-24 09:15:47 +0000 |
---|---|---|
committer | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-24 09:15:47 +0000 |
commit | 1b59070d275472b9685154a00af28b91a9ae01cf (patch) | |
tree | 815fb7589126fbc0536ec790767f14b39398ad06 /java/src/com/tightvnc/decoder | |
parent | 191695b3115fe410392bb9f8c460819944b0af75 (diff) | |
download | tigervnc-1b59070d275472b9685154a00af28b91a9ae01cf.tar.gz tigervnc-1b59070d275472b9685154a00af28b91a9ae01cf.zip |
[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
Diffstat (limited to 'java/src/com/tightvnc/decoder')
-rw-r--r-- | java/src/com/tightvnc/decoder/RawDecoder.java | 11 |
1 files changed, 0 insertions, 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, @@ -73,14 +70,6 @@ public class RawDecoder { } // - // 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 // |