- Timestamp:
- 2017-12-16T21:06:42+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java
r12809 r13202 152 152 // if latest version from history is higher than a non existing primitive version, 153 153 // that means this version has been redacted and the primitive cannot be used. 154 if (history.getLatest().getVersion() > primitive.getVersion()) 155 return false; 154 return history.getLatest().getVersion() <= primitive.getVersion(); 156 155 157 156 // latest has a higher version than one of the primitives 158 157 // in the history (probably because the history got out of sync 159 158 // with uploaded data) -> show the primitive as latest 160 return true;161 159 } 162 160 -
trunk/src/org/openstreetmap/josm/tools/HiDPISupport.java
r12868 r13202 187 187 */ 188 188 public static Image processMRImages(List<Image> imgs, Function<List<Image>, Image> processor) { 189 CheckParameterUtil.ensureThat( imgs.size() >= 1, "at least onelement expected");189 CheckParameterUtil.ensureThat(!imgs.isEmpty(), "at least one element expected"); 190 190 if (!getBaseMultiResolutionImageClass().isPresent()) { 191 191 return processor.apply(imgs);
Note:
See TracChangeset
for help on using the changeset viewer.