Ignore:
Timestamp:
2014-02-10T00:51:53+01:00 (10 years ago)
Author:
Don-vip
Message:

javadoc fixes for jdk8 compatibility

Location:
trunk/src/org/openstreetmap/josm/data/osm/history
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/history/History.java

    r6623 r6830  
    4343     * Creates a new history for an OSM primitive
    4444     *
    45      * @param id the id. >0 required.
     45     * @param id the id. > 0 required.
    4646     * @param type the primitive type. Must not be null.
    4747     * @param versions a list of versions. Can be null.
    48      * @throws IllegalArgumentException thrown if id <= 0
     48     * @throws IllegalArgumentException thrown if id &lt;= 0
    4949     * @throws IllegalArgumentException if type is null
    5050     *
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryDataSet.java

    r6449 r6830  
    8383     * and version <code>version</code>. null, if no such primitive exists.
    8484     *
    85      * @param id the id of the primitive. > 0 required.
     85     * @param id the id of the primitive. &gt; 0 required.
    8686     * @param type the primitive type. Must not be null.
    87      * @param version the version of the primitive. > 0 required
     87     * @param version the version of the primitive. &gt; 0 required
    8888     * @return the history primitive for the primitive with id <code>id</code>,
    8989     * type <code>type</code>, and version <code>version</code>
     
    135135     * and type <code>type</code>.
    136136     *
    137      * @param id the id the if of the primitive. > 0 required
     137     * @param id the id the if of the primitive. &gt; 0 required
    138138     * @param type the type of the primitive. Must not be null.
    139139     * @return the history. null, if there isn't a history for <code>id</code> and
    140140     * <code>type</code>.
    141      * @throws IllegalArgumentException thrown if id <= 0
     141     * @throws IllegalArgumentException thrown if id &lt;= 0
    142142     * @throws IllegalArgumentException thrown if type is null
    143143     */
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryNode.java

    r6069 r6830  
    2222     * Constructs a new {@code HistoryNode}.
    2323     *
    24      * @param id the id (> 0 required)
    25      * @param version the version (> 0 required)
     24     * @param id the id (&gt; 0 required)
     25     * @param version the version (&gt; 0 required)
    2626     * @param visible whether the node is still visible
    27      * @param user the user (! null required)
    28      * @param changesetId the changeset id (> 0 required)
    29      * @param timestamp the timestamp (! null required)
     27     * @param user the user (!= null required)
     28     * @param changesetId the changeset id (&gt; 0 required)
     29     * @param timestamp the timestamp (!= null required)
    3030     * @param coords the coordinates
    3131     * @throws IllegalArgumentException if preconditions are violated
     
    3939     * This is needed to build virtual HistoryNodes for modified nodes, which do not have a timestamp and a changeset id.
    4040     *
    41      * @param id the id (> 0 required)
    42      * @param version the version (> 0 required)
     41     * @param id the id (&gt; 0 required)
     42     * @param version the version (&gt; 0 required)
    4343     * @param visible whether the node is still visible
    44      * @param user the user (! null required)
    45      * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true)
    46      * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)
     44     * @param user the user (!= null required)
     45     * @param changesetId the changeset id (&gt; 0 required if {@code checkHistoricParams} is true)
     46     * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true)
    4747     * @param coords the coordinates
    4848     * @param checkHistoricParams if true, checks values of {@code changesetId} and {@code timestamp}
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java

    r6440 r6830  
    4747     * Constructs a new {@code HistoryOsmPrimitive}.
    4848     *
    49      * @param id the id (> 0 required)
    50      * @param version the version (> 0 required)
     49     * @param id the id (&gt; 0 required)
     50     * @param version the version (&gt; 0 required)
    5151     * @param visible whether the primitive is still visible
    52      * @param user the user (! null required)
    53      * @param changesetId the changeset id (> 0 required)
    54      * @param timestamp the timestamp (! null required)
     52     * @param user the user (!= null required)
     53     * @param changesetId the changeset id (&gt; 0 required)
     54     * @param timestamp the timestamp (!= null required)
    5555     *
    5656     * @throws IllegalArgumentException if preconditions are violated
     
    6464     * This is needed to build virtual HistoryOsmPrimitives for modified primitives, which do not have a timestamp and a changeset id.
    6565     *
    66      * @param id the id (> 0 required)
    67      * @param version the version (> 0 required)
     66     * @param id the id (&gt; 0 required)
     67     * @param version the version (&gt; 0 required)
    6868     * @param visible whether the primitive is still visible
    69      * @param user the user (! null required)
    70      * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true)
    71      * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)
     69     * @param user the user (!= null required)
     70     * @param changesetId the changeset id (&gt; 0 required if {@code checkHistoricParams} is true)
     71     * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true)
    7272     * @param checkHistoricParams if true, checks values of {@code changesetId} and {@code timestamp}
    7373     *
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryRelation.java

    r6317 r6830  
    2626     * constructor
    2727     *
    28      * @param id the id (>0 required)
    29      * @param version the version (> 0 required)
     28     * @param id the id (&gt; 0 required)
     29     * @param version the version (&gt; 0 required)
    3030     * @param visible whether the primitive is still visible
    31      * @param user  the user (! null required)
    32      * @param changesetId the changeset id (> 0 required)
    33      * @param timestamp the timestamp (! null required)
     31     * @param user  the user (!= null required)
     32     * @param changesetId the changeset id (&gt; 0 required)
     33     * @param timestamp the timestamp (!= null required)
    3434     *
    3535     * @throws IllegalArgumentException if preconditions are violated
     
    4242     * constructor
    4343     *
    44      * @param id the id (>0 required)
    45      * @param version the version (> 0 required)
     44     * @param id the id (&gt; 0 required)
     45     * @param version the version (&gt; 0 required)
    4646     * @param visible whether the primitive is still visible
    47      * @param user  the user (! null required)
    48      * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true)
    49      * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)
     47     * @param user  the user (!= null required)
     48     * @param changesetId the changeset id (&gt; 0 required if {@code checkHistoricParams} is true)
     49     * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true)
    5050     * @param checkHistoricParams If true, checks values of {@code changesetId} and {@code timestamp}
    5151     *
     
    6060     * constructor
    6161     *
    62      * @param id the id (>0 required)
    63      * @param version the version (> 0 required)
     62     * @param id the id (&gt; 0 required)
     63     * @param version the version (&gt; 0 required)
    6464     * @param visible whether the primitive is still visible
    65      * @param user  the user (! null required)
    66      * @param changesetId the changeset id (> 0 required)
    67      * @param timestamp the timestamp (! null required)
     65     * @param user  the user (!= null required)
     66     * @param changesetId the changeset id (&gt; 0 required)
     67     * @param timestamp the timestamp (!= null required)
    6868     * @param members list of members for this relation
    6969     *
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryWay.java

    r6317 r6830  
    2626     * Constructs a new {@code HistoryWay}.
    2727     *
    28      * @param id the id (> 0 required)
    29      * @param version the version (> 0 required)
     28     * @param id the id (&gt; 0 required)
     29     * @param version the version (&gt; 0 required)
    3030     * @param visible whether the node is still visible
    31      * @param user the user (! null required)
    32      * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true)
    33      * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)
     31     * @param user the user (!= null required)
     32     * @param changesetId the changeset id (&gt; 0 required if {@code checkHistoricParams} is true)
     33     * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true)
    3434     * @throws IllegalArgumentException if preconditions are violated
    3535     */
     
    4242     * This is needed to build virtual HistoryWays for modified ways, which do not have a timestamp and a changeset id.
    4343     *
    44      * @param id the id (> 0 required)
    45      * @param version the version (> 0 required)
     44     * @param id the id (&gt; 0 required)
     45     * @param version the version (&gt; 0 required)
    4646     * @param visible whether the node is still visible
    47      * @param user the user (! null required)
    48      * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true)
    49      * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)
     47     * @param user the user (!= null required)
     48     * @param changesetId the changeset id (&gt; 0 required if {@code checkHistoricParams} is true)
     49     * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true)
    5050     * @param checkHistoricParams if true, checks values of {@code changesetId} and {@code timestamp}
    5151     * @throws IllegalArgumentException if preconditions are violated
     
    5959     * Constructs a new {@code HistoryWay} with a given list of node ids.
    6060     *
    61      * @param id the id (> 0 required)
    62      * @param version the version (> 0 required)
     61     * @param id the id (&gt; 0 required)
     62     * @param version the version (&gt; 0 required)
    6363     * @param visible whether the node is still visible
    64      * @param user the user (! null required)
    65      * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true)
    66      * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)
    67      * @param nodeIdList the node ids (! null required)
     64     * @param user the user (!= null required)
     65     * @param changesetId the changeset id (&gt; 0 required if {@code checkHistoricParams} is true)
     66     * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true)
     67     * @param nodeIdList the node ids (!= null required)
    6868     * @throws IllegalArgumentException if preconditions are violated
    6969     */
     
    9595     * @param idx the index
    9696     * @return the idx-th node id
    97      * @exception IndexOutOfBoundsException thrown, if  idx <0 || idx >= {#see {@link #getNumNodes()}
     97     * @exception IndexOutOfBoundsException thrown, if  idx &lt; 0 || idx &gt;= {#see {@link #getNumNodes()}
    9898     */
    9999    public long getNodeId(int idx) throws IndexOutOfBoundsException {
Note: See TracChangeset for help on using the changeset viewer.