Ignore:
Timestamp:
2016-08-06T19:21:33+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:S00100 - Method names should comply with a naming convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java

    r10680 r10748  
    7373
    7474    private void diff() {
    75         Diff.Change script = new Diff(reference, current).diff_2(false);
     75        Diff.Change script = new Diff(reference, current).diff2(false);
    7676        // attempt diff with reference reversed and test whether less deletions+inserts are required
    7777        Object[] referenceReversed = Utils.copyArray(reference);
    7878        Collections.reverse(Arrays.asList(referenceReversed));
    79         Diff.Change scriptReversed = new Diff(referenceReversed, current).diff_2(false);
     79        Diff.Change scriptReversed = new Diff(referenceReversed, current).diff2(false);
    8080        if (scriptReversed == null /* reference and current are identical */
    8181                || (script != null && scriptReversed.getTotalNumberOfChanges() < script.getTotalNumberOfChanges())) {
Note: See TracChangeset for help on using the changeset viewer.