|
From: Rüdiger <ru...@us...> - 2006-04-26 19:19:28
|
Update of /cvsroot/jflight/jflight/app/src/jflight/gps In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4726/app/src/jflight/gps Modified Files: GpsTimeoutException.java Gps.java Log Message: cleanup of unused code ... Index: Gps.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/gps/Gps.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Gps.java 25 Mar 2006 11:27:19 -0000 1.1 --- Gps.java 26 Apr 2006 19:19:15 -0000 1.2 *************** *** 290,299 **** throws GpsTimeoutException, IOException { - double dist; int size = wptCont.size(); for(int cnt = 0; cnt < size; cnt++ ) { Wpt aWpt = wptCont.wptAt(cnt); if( aWpt.getName().startsWith("X") || aWpt.getName().equals("MOB ") ) continue; ! if( (dist=aWpt.dist(theWpt)) < distance ) { sendWpt(cnt); //System.out.println("ok :" + aWpt.getName() + " <> " + java.lang.Math.floor(dist) + " km"); --- 290,298 ---- throws GpsTimeoutException, IOException { int size = wptCont.size(); for(int cnt = 0; cnt < size; cnt++ ) { Wpt aWpt = wptCont.wptAt(cnt); if( aWpt.getName().startsWith("X") || aWpt.getName().equals("MOB ") ) continue; ! if( (aWpt.dist(theWpt)) < distance ) { sendWpt(cnt); //System.out.println("ok :" + aWpt.getName() + " <> " + java.lang.Math.floor(dist) + " km"); *************** *** 307,311 **** Wpt aWpt = wptCont.wptAt(cnt); if( !aWpt.getName().startsWith("X") ) continue; ! if( (dist=aWpt.dist(theWpt)) < distance ) { sendWpt(cnt); //System.out.println("ok :" + aWpt.getName() + " <> " + java.lang.Math.floor(dist) + " km"); --- 306,310 ---- Wpt aWpt = wptCont.wptAt(cnt); if( !aWpt.getName().startsWith("X") ) continue; ! if( (aWpt.dist(theWpt)) < distance ) { sendWpt(cnt); //System.out.println("ok :" + aWpt.getName() + " <> " + java.lang.Math.floor(dist) + " km"); Index: GpsTimeoutException.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/gps/GpsTimeoutException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GpsTimeoutException.java 25 Mar 2006 11:27:19 -0000 1.1 --- GpsTimeoutException.java 26 Apr 2006 19:19:15 -0000 1.2 *************** *** 20,24 **** @since JDK1.1.x ! @author Rüdiger Bien CVS-section: --- 20,24 ---- @since JDK1.1.x ! @author R�diger Bien CVS-section: *************** *** 29,32 **** --- 29,37 ---- /** + * + */ + private static final long serialVersionUID = 1L; + + /** * Constructs a <code>GpsTimeoutException</code> * with the specified detail message. |