Changeset 10045 in josm
- Timestamp:
- 2016-03-26T15:10:06+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
r9983 r10045 90 90 o = toFloat(o); 91 91 if (o != null) { 92 o = new Double((Float) o);92 o = Double.valueOf((Float) o); 93 93 } 94 94 return (T) o; … … 113 113 return (T) String.format("#%06x%02x", ((Color) o).getRGB() & 0x00ffffff, alpha); 114 114 return (T) String.format("#%06x", ((Color) o).getRGB() & 0x00ffffff); 115 116 115 } 117 116 -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r9983 r10045 517 517 return null; 518 518 } 519 return new Float(env.index + 1);519 return Float.valueOf(env.index + 1f); 520 520 } 521 521 -
trunk/src/org/openstreetmap/josm/io/GpxReader.java
r9231 r10045 410 410 currentWayPoint.put(localName, Float.valueOf(accumulator.toString())); 411 411 } catch (Exception e) { 412 currentWayPoint.put(localName, new Float(0));412 currentWayPoint.put(localName, 0f); 413 413 } 414 414 break;
Note:
See TracChangeset
for help on using the changeset viewer.