Changeset 11666 in josm


Ignore:
Timestamp:
2017-03-04T21:11:39+01:00 (7 months ago)
Author:
stoecker
Message:

unify default coloring for ELI compare script date handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r11665 r11666  
    332332                    t += " or '${ef}'";
    333333                }
    334                 myprintln "* Date differs (${t} != '${jd}'): ${getDescription(j)}"
     334                if (jd.isEmpty()) {
     335                    myprintln "- Missing JOSM date (${t}): ${getDescription(j)}"
     336                } else if (t.isEmpty()) {
     337                    myprintln "+ Missing ELI date ('${jd}'): ${getDescription(j)}"
     338                } else {
     339                    myprintln "* Date differs (${t} != '${jd}'): ${getDescription(j)}"
     340                }
    335341            }
    336342        }
Note: See TracChangeset for help on using the changeset viewer.