diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2011-10-09 17:31:11 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2011-10-09 17:31:11 +0000 |
commit | 6a42a371e4b82f30f14cc0eb4ff0eb6c134ba369 (patch) | |
tree | 1943fd35668d871eef41e7065ffcd047fce7d76e /java/com/tigervnc/vncviewer/CConn.java | |
parent | 38443b8cef8e7d084fe97c60204f075b322a1d15 (diff) | |
download | tigervnc-6a42a371e4b82f30f14cc0eb4ff0eb6c134ba369.tar.gz tigervnc-6a42a371e4b82f30f14cc0eb4ff0eb6c134ba369.zip |
cleaned up unused local variables, unnecessary package imports, and fixed some methods and variables that were incorrectly defined as static
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4717 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/vncviewer/CConn.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/CConn.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java index 7d76beed..a375438b 100644 --- a/java/com/tigervnc/vncviewer/CConn.java +++ b/java/com/tigervnc/vncviewer/CConn.java @@ -34,26 +34,16 @@ package com.tigervnc.vncviewer; import java.awt.Color; import java.awt.Graphics; import java.awt.event.*; -import java.awt.Component; import java.awt.Dimension; import java.awt.Event; -import java.awt.Frame; -import java.awt.ScrollPane; -import java.io.*; -import javax.net.ssl.*; import java.io.IOException; import java.io.InputStream; -import java.io.OutputStream; -import java.io.File; import java.util.jar.Attributes; import java.util.jar.Manifest; import javax.swing.*; -import javax.swing.filechooser.*; import javax.swing.ImageIcon; import java.net.URL; -import java.net.ServerSocket; -import javax.swing.border.*; import java.util.*; import com.tigervnc.rdr.*; @@ -219,7 +209,6 @@ public class CConn extends CConnection public boolean showMsgBox(int flags, String title, String text) { StringBuffer titleText = new StringBuffer("VNC Viewer: "+title); - return true; } @@ -1165,7 +1154,6 @@ public class CConn extends CConnection synchronized public void writePointerEvent(MouseEvent ev) { if (state() != RFBSTATE_NORMAL) return; - int x, y; switch (ev.getID()) { case MouseEvent.MOUSE_PRESSED: |