Changeset 2689 in josm for trunk/src/org/openstreetmap/josm/gui/history
- Timestamp:
- 2009-12-28T00:16:04+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java
r2512 r2689 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 6 7 import java.awt.Component; 7 8 import java.io.IOException; 8 9 import java.util.Collection; … … 21 22 import org.openstreetmap.josm.io.OsmServerHistoryReader; 22 23 import org.openstreetmap.josm.io.OsmTransferException; 24 import org.openstreetmap.josm.tools.CheckParameterUtil; 23 25 import org.xml.sax.SAXException; 24 26 … … 51 53 public HistoryLoadTask() { 52 54 super(tr("Load history"), true); 55 toLoad = new HashSet<PrimitiveId>(); 56 } 57 58 /** 59 * Creates a new task 60 * 61 * @param parent the component to be used as reference to find the parent for {@see PleaseWaitDialog}. 62 * Must not be null. 63 * @throws IllegalArgumentException thrown if parent is null 64 */ 65 public HistoryLoadTask(Component parent) { 66 super(parent, tr("Load history"), true); 67 CheckParameterUtil.ensureParameterNotNull(parent, "parent"); 53 68 toLoad = new HashSet<PrimitiveId>(); 54 69 }
Note:
See TracChangeset
for help on using the changeset viewer.