[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
diff --git a/java/src/com/tightvnc/decoder/RawDecoder.java b/java/src/com/tightvnc/decoder/RawDecoder.java
index affdc67..f093b72 100644
--- a/java/src/com/tightvnc/decoder/RawDecoder.java
+++ b/java/src/com/tightvnc/decoder/RawDecoder.java
@@ -23,9 +23,6 @@
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 @@
}
//
- // 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
//