]> source.dussan.org Git - tigervnc.git/commitdiff
[Refactoring] Unused part of code in constructor (dublicating code) removed. Unused...
authorenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 24 Dec 2008 09:15:47 +0000 (09:15 +0000)
committerenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 24 Dec 2008 09:15:47 +0000 (09:15 +0000)
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

index affdc67925049d713df11eed2551359d5e8ee076..f093b726b67e88decaa803ae018568582aa608c2 100644 (file)
@@ -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
   //