Ignore:
Timestamp:
2017-07-27T22:43:35+02:00 (7 years ago)
Author:
donvip
Message:

fix #josm10102 - undelete falsely reports redacted object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java

    r33374 r33480  
    8383                        } else {
    8484                            // We search n-1 version with redaction robustness
    85                             int idx = 1;
    86                             int n = h.getNumVersions();
     85                            long idx = 1;
     86                            long n = hPrimitive1.getVersion();
    8787                            while (hPrimitive2 == null && idx < n) {
    8888                                hPrimitive2 =  h.getByVersion(n - idx++);
Note: See TracChangeset for help on using the changeset viewer.