|
From: Rüdiger <ru...@us...> - 2006-04-26 19:19:31
|
Update of /cvsroot/jflight/jflight/app/src/jflight/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4726/app/src/jflight/tools Modified Files: SerialConnectionException.java SerialAccess.java SysParams.java Log Message: cleanup of unused code ... Index: SerialAccess.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/tools/SerialAccess.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SerialAccess.java 25 Mar 2006 11:27:15 -0000 1.1 --- SerialAccess.java 26 Apr 2006 19:19:16 -0000 1.2 *************** *** 37,42 **** public void serialEvent(SerialPortEvent e) { - // Create a StringBuffer and int to receive input data. - int newData = 0; // System.out.println("ser port event\n"); // Determine type of event. --- 37,40 ---- *************** *** 119,123 **** int oldStopbits = sPort.getStopBits(); int oldParity = sPort.getParity(); - int oldFlowControl = sPort.getFlowControlMode(); // Set connection parameters, if set fails return parameters object // to original state. --- 117,120 ---- Index: SerialConnectionException.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/tools/SerialConnectionException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SerialConnectionException.java 25 Mar 2006 11:27:15 -0000 1.1 --- SerialConnectionException.java 26 Apr 2006 19:19:16 -0000 1.2 *************** *** 35,38 **** --- 35,43 ---- /** + * + */ + private static final long serialVersionUID = 1L; + + /** * Constructs a <code>SerialConnectionException</code> * with the specified detail message. Index: SysParams.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/tools/SysParams.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SysParams.java 25 Mar 2006 11:27:15 -0000 1.1 --- SysParams.java 26 Apr 2006 19:19:16 -0000 1.2 *************** *** 35,39 **** private int screenType; private int orientation; - private Dimension frameSize; private Dimension frameLocation; private Dimension screenSize; --- 35,38 ---- *************** *** 47,51 **** screenType = DESKTOP; colorMode = COLOR; - Frame frame; Properties props = System.getProperties(); // get list of properties for (Enumeration en = props.propertyNames(); en.hasMoreElements();) { --- 46,49 ---- |