Ignore:
Timestamp:
2013-04-14T22:20:20+02:00 (11 years ago)
Author:
stoecker
Message:

javadoc fixes

Location:
trunk/src/org/openstreetmap/josm/gui/history
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/DiffTableModel.java

    r5627 r5863  
    1010
    1111/**
    12  * Simple model storing "diff cells" in a list. Could probably have used a DefaultTableModel instead..
    13  *
    14  * {@link NodeListDiffTableCellRenderer}
     12 * Simple model storing "diff cells" in a list. Could probably have
     13 * used a {@link javax.swing.table.DefaultTableModel} instead.
    1514 */
    1615class DiffTableModel extends AbstractTableModel {
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java

    r5859 r5863  
    6161     * Creates a new task
    6262     *
    63      * @param parent the component to be used as reference to find the parent for {@link PleaseWaitDialog}.
    64      * Must not be null.
    65      * @throws IllegalArgumentException thrown if parent is null
     63     * @param parent the component to be used as reference to find the
     64     * parent for {@link org.openstreetmap.josm.gui.PleaseWaitDialog}.
     65     * Must not be <code>null</code>.
     66     * @throws IllegalArgumentException thrown if parent is <code>null</code>
    6667     */
    6768    public HistoryLoadTask(Component parent) {
     
    142143     * Adds a collection of objects to loaded, specified by a collection of OSM primitives.
    143144     *
    144      * @param primitive the OSM primitive. Must not be null. primitive.getId() > 0 required.
    145      * @return this task
    146      * @throws IllegalArgumentException thrown if primitives is null
    147      * @throws IllegalArgumentException thrown if one of the ids in the collection <= 0
     145     * @param primitives the OSM primitives. Must not be <code>null</code>.
     146     * <code>primitive.getId() > 0</code> required.
     147     * @return this task
     148     * @throws IllegalArgumentException thrown if primitives is <code>null</code>
     149     * @throws IllegalArgumentException thrown if one of the ids in the collection &lt;= 0
    148150     */
    149151    public HistoryLoadTask add(Collection<? extends OsmPrimitive> primitives) {
     
    160162    @Override
    161163    protected void cancel() {
    162         System.out.println("Cancel!");
    163         if (reader!=null) reader.cancel();
     164        if (reader != null) {
     165            reader.cancel();
     166        }
    164167        canceled = true;
    165168    }
Note: See TracChangeset for help on using the changeset viewer.