Changeset 12673 in josm for trunk/src


Ignore:
Timestamp:
2017-08-27T17:24:14+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15182 - move CyclicUploadDependencyException from actions.upload to data.osm (used in data.APIDataSet)

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited
1 moved

Legend:

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

    r12365 r12673  
    1818import org.openstreetmap.josm.Main;
    1919import org.openstreetmap.josm.data.APIDataSet;
     20import org.openstreetmap.josm.data.osm.CyclicUploadDependencyException;
    2021import org.openstreetmap.josm.data.osm.Relation;
    2122import org.openstreetmap.josm.gui.ExtendedDialog;
  • trunk/src/org/openstreetmap/josm/data/APIDataSet.java

    r12374 r12673  
    1515import java.util.stream.Stream;
    1616
    17 import org.openstreetmap.josm.actions.upload.CyclicUploadDependencyException;
    1817import org.openstreetmap.josm.data.conflict.ConflictCollection;
     18import org.openstreetmap.josm.data.osm.CyclicUploadDependencyException;
    1919import org.openstreetmap.josm.data.osm.DataSet;
    2020import org.openstreetmap.josm.data.osm.IPrimitive;
  • trunk/src/org/openstreetmap/josm/data/osm/CyclicUploadDependencyException.java

    r12672 r12673  
    11// License: GPL. For details, see LICENSE file.
    2 package org.openstreetmap.josm.actions.upload;
     2package org.openstreetmap.josm.data.osm;
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     
    99import java.util.Stack;
    1010
    11 import org.openstreetmap.josm.data.osm.Relation;
    12 
    1311/**
    1412 * This is an exception that is thrown if the user attempts to upload a list of relations with a cyclic dependency in them
     13 * @since 12673 (moved from {@code action.upload} package)
    1514 */
    1615public class CyclicUploadDependencyException extends Exception {
  • trunk/src/org/openstreetmap/josm/gui/io/UploadLayerTask.java

    r12663 r12673  
    99import java.util.Set;
    1010
    11 import org.openstreetmap.josm.actions.upload.CyclicUploadDependencyException;
    1211import org.openstreetmap.josm.data.APIDataSet;
    1312import org.openstreetmap.josm.data.osm.Changeset;
     13import org.openstreetmap.josm.data.osm.CyclicUploadDependencyException;
    1414import org.openstreetmap.josm.data.osm.DefaultNameFormatter;
    1515import org.openstreetmap.josm.data.osm.IPrimitive;
Note: See TracChangeset for help on using the changeset viewer.