Ignore:
Timestamp:
2015-11-02T10:21:34+01:00 (8 years ago)
Author:
simon04
Message:

fix #12016 - History dialog sometimes incorrectly shows a way as reversed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Diff.java

    r8928 r8976  
    570570        }
    571571
     572        /**
     573         * Returns the number of insertions and deletions of this change as well as
     574         * (recursively) the changes linked via {@link #link}.
     575         */
     576        public int getTotalNumberOfChanges() {
     577            return inserted + deleted + (link != null ? link.getTotalNumberOfChanges() : 0);
     578        }
     579
    572580        @Override
    573581        public String toString() {
Note: See TracChangeset for help on using the changeset viewer.