- Timestamp:
- 2017-06-09T19:51:54+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/upload/CyclicUploadDependencyException.java
r8856 r12364 10 10 import org.openstreetmap.josm.data.osm.Relation; 11 11 12 /** 13 * This is an exception that is thrown if the user attempts to upload a list of relations with a cyclic dependency in them 14 */ 12 15 public class CyclicUploadDependencyException extends Exception { 13 16 private final Stack<Relation> cycle; 14 17 18 /** 19 * Creates a new {@link CyclicUploadDependencyException} 20 * @param cycle The cycle that was found 21 */ 15 22 public CyclicUploadDependencyException(Stack<Relation> cycle) { 16 23 this.cycle = cycle; … … 44 51 } 45 52 53 /** 54 * Gets the cycle 55 * @return The cycle that was detected 56 */ 46 57 public List<Relation> getCyclicUploadDependency() { 47 58 return new ArrayList<>(cycle);
Note:
See TracChangeset
for help on using the changeset viewer.