Changeset 4243 in josm
- Timestamp:
- 2011-07-14T18:05:50+02:00 (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r4239 r4243 21 21 </condition> 22 22 <!-- Java classpath addition (all jar files to compile tests with this) --> 23 < path id="classpath">23 <!-- <path id="classpath"> 24 24 <fileset dir="lib"> 25 25 <include name="**/*.jar"/> 26 26 </fileset> 27 </path> 27 </path> --> 28 28 <!-- 29 29 ** Used by Eclipse ant builder for updating … … 106 106 </target> 107 107 <target name="compile" depends="init"> 108 <javac srcdir="src" classpathref="classpath"includes="com/drew/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.5" source="1.5" debug="on" encoding="iso-8859-1"/>109 <javac srcdir="src" classpathref="classpath"excludes="com/drew/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.5" source="1.5" debug="on" encoding="UTF-8">108 <javac srcdir="src" includes="com/drew/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.5" source="1.5" debug="on" encoding="iso-8859-1"/> 109 <javac srcdir="src" excludes="com/drew/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.5" source="1.5" debug="on" encoding="UTF-8"> 110 110 <compilerarg value="-Xlint:deprecation"/> 111 111 <compilerarg value="-Xlint:unchecked"/> -
trunk/src/org/openstreetmap/josm/data/Preferences.java
r4230 r4243 605 605 putDefault(key, Integer.toString(def)); 606 606 String v = get(key); 607 if( null == v)607 if(v.isEmpty()) 608 608 return def; 609 609 … … 619 619 putDefault(key, Integer.toString(def)); 620 620 String v = get(key+"."+specName); 621 if( null == v)621 if(v.isEmpty()) 622 622 v = get(key); 623 if( null == v)623 if(v.isEmpty()) 624 624 return def; 625 625 -
trunk/src/org/openstreetmap/josm/io/NmeaReader.java
r3083 r4243 266 266 267 267 // handle the packet content 268 if(e[0].equals("$GPGGA") ) {268 if(e[0].equals("$GPGGA") || e[0].equals("$GNGGA")) { 269 269 // Position 270 270 LatLon latLon = parseLatLon( … … 346 346 } 347 347 } 348 } else if(e[0].equals("$GPVTG") ) {348 } else if(e[0].equals("$GPVTG") || e[0].equals("$GNVTG")) { 349 349 // COURSE 350 350 accu = e[GPVTG.COURSE_REF.position]; … … 367 367 } 368 368 } 369 } else if(e[0].equals("$GPGSA") ) {369 } else if(e[0].equals("$GPGSA") || e[0].equals("$GNGSA")) { 370 370 // vdop 371 371 accu=e[GPGSA.VDOP.position]; … … 384 384 } 385 385 } 386 else if(e[0].equals("$GPRMC") ) {386 else if(e[0].equals("$GPRMC") || e[0].equals("$GNRMC")) { 387 387 // coordinates 388 388 LatLon latLon = parseLatLon(
Note:
See TracChangeset
for help on using the changeset viewer.