Changeset 6090 in josm
- Timestamp:
- 2013-07-26T21:45:36+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r6069 r6090 294 294 @Override 295 295 public Date getTimestamp() { 296 return new Date(timestamp * 1000 l);296 return new Date(timestamp * 1000L); 297 297 } 298 298 -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java
r6084 r6090 865 865 // Find day difference 866 866 final int dayOffset = (int)Math.round(diffInH / 24); // days 867 double tmz = diff - dayOffset*24*60*60 l; // seconds867 double tmz = diff - dayOffset*24*60*60L; // seconds 868 868 869 869 // In hours, rounded to two decimal places … … 1045 1045 // Find day difference 1046 1046 int dayOffset = (int)Math.round(diffInH / 24); // days 1047 double tz = diff - dayOffset*24*60*60 l; // seconds1047 double tz = diff - dayOffset*24*60*60L; // seconds 1048 1048 1049 1049 // In hours, rounded to two decimal places -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r6084 r6090 156 156 157 157 boolean mouseIsDragging = false; 158 long lastTimeForMousePoint = 0 l;158 long lastTimeForMousePoint = 0L; 159 159 Point mousePointInImg = null; 160 160 -
trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSource.java
r5275 r6090 26 26 27 27 private ImageIcon imageIcon; 28 private long lastMTime = 0 l;28 private long lastMTime = 0L; 29 29 30 30 /****** -
trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java
r6073 r6090 33 33 File file = null; 34 34 35 public final static long DEFAULT_MAXTIME = -1 l;35 public final static long DEFAULT_MAXTIME = -1L; 36 36 37 37 public MirroredInputStream(String name) throws IOException { -
trunk/src/org/openstreetmap/josm/io/OsmChangesetContentParser.java
r6070 r6090 76 76 throwException(tr("Missing mandatory attribute ''{0}''.", name)); 77 77 } 78 Long l = 0 l;78 Long l = 0L; 79 79 try { 80 80 l = Long.parseLong(v); -
trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java
r6070 r6090 72 72 throwException(tr("Missing mandatory attribute ''{0}''.", name)); 73 73 } 74 Long l = 0 l;74 Long l = 0L; 75 75 try { 76 76 l = Long.parseLong(v); -
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r6087 r6090 281 281 long last = Main.pref.getLong("pluginmanager.lastupdate", 0); 282 282 Integer maxTime = Main.pref.getInteger("pluginmanager.time-based-update.interval", DEFAULT_TIME_BASED_UPDATE_INTERVAL); 283 long d = (tim - last) / (24 * 60 * 60 * 1000 l);283 long d = (tim - last) / (24 * 60 * 60 * 1000L); 284 284 if ((last <= 0) || (maxTime <= 0)) { 285 285 Main.pref.put("pluginmanager.lastupdate", Long.toString(tim));
Note:
See TracChangeset
for help on using the changeset viewer.