Changeset 5621 in josm for trunk/src


Ignore:
Timestamp:
2012-12-16T15:21:49+01:00 (12 years ago)
Author:
stoecker
Message:

fix #8211 - data fix on upload

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r5497 r5621  
    1515import org.openstreetmap.josm.actions.upload.ApiPreconditionCheckerHook;
    1616import org.openstreetmap.josm.actions.upload.DiscardTagsHook;
     17import org.openstreetmap.josm.actions.upload.FixDataHook;
    1718import org.openstreetmap.josm.actions.upload.RelationUploadOrderHook;
    1819import org.openstreetmap.josm.actions.upload.UploadHook;
     
    5354    private static final LinkedList<UploadHook> lateUploadHooks = new LinkedList<UploadHook>();
    5455    static {
     56        /**
     57         * Calls validator before upload.
     58         */
    5559        uploadHooks.add(new ValidateUploadHook());
     60
     61        /**
     62         * Fixes database errors
     63         */
     64        uploadHooks.add(new FixDataHook());
     65
    5666        /**
    5767         * Checks server capabilities before upload.
Note: See TracChangeset for help on using the changeset viewer.