Ignore:
Timestamp:
2012-06-03T16:41:25+02:00 (12 years ago)
Author:
bastiK
Message:

fixed majority of javadoc warnings by replacing "{@see" by "{@link"

Location:
trunk/src/org/openstreetmap/josm/io
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/ChangesetClosedException.java

    r3562 r5266  
    1414/**
    1515 * A ChangesetClosedException is thrown if the server replies with a HTTP
    16  * return code 409 (Conflict) with the error header {@see #ERROR_HEADER_PATTERN}.
     16 * return code 409 (Conflict) with the error header {@link #ERROR_HEADER_PATTERN}.
    1717 *
    1818 * Depending on the context the exception is thrown in we have to react differently.
     
    5050
    5151    /**
    52      * Replies true if <code>errorHeader</code> matches with {@see #ERROR_HEADER_PATTERN}
     52     * Replies true if <code>errorHeader</code> matches with {@link #ERROR_HEADER_PATTERN}
    5353     *
    5454     * @param errorHeader the error header
    55      * @return true if <code>errorHeader</code> matches with {@see #ERROR_HEADER_PATTERN}
     55     * @return true if <code>errorHeader</code> matches with {@link #ERROR_HEADER_PATTERN}
    5656     */
    5757    static public boolean errorHeaderMatchesPattern(String errorHeader) {
  • trunk/src/org/openstreetmap/josm/io/ChangesetQuery.java

    r4902 r5266  
    6767     *
    6868     * Caveat: for historical reasons the username might not be unique! It is recommended to use
    69      * {@see #forUser(int)} to restrict the query to a specific user.
     69     * {@link #forUser(int)} to restrict the query to a specific user.
    7070     *
    7171     * @param username the username. Must not be null.
     
    9494    /**
    9595     * Replies the user name which this query is restricted to. null, if this query isn't
    96      * restricted to a user name, i.e. if {@see #isRestrictedToPartiallyIdentifiedUser()} is false.
     96     * restricted to a user name, i.e. if {@link #isRestrictedToPartiallyIdentifiedUser()} is false.
    9797     *
    9898     * @return the user name which this query is restricted to
     
    406406        /**
    407407         * Parses the changeset query given as URL query parameters and replies a
    408          * {@see ChangesetQuery}
     408         * {@link ChangesetQuery}
    409409         *
    410410         * <code>query</code> is the query part of a API url for querying changesets,
  • trunk/src/org/openstreetmap/josm/io/DefaultProxySelector.java

    r4196 r5266  
    2424public class DefaultProxySelector extends ProxySelector {
    2525    /**
    26      * The {@see ProxySelector} provided by the JDK will retrieve proxy information
     26     * The {@link ProxySelector} provided by the JDK will retrieve proxy information
    2727     * from the system settings, if the system property <tt>java.net.useSystemProxies</tt>
    2828     * is defined <strong>at startup</strong>. It has no effect if the property is set
     
    4040
    4141    /**
    42      * The {@see ProxySelector} provided by the JDK will retrieve proxy information
     42     * The {@link ProxySelector} provided by the JDK will retrieve proxy information
    4343     * from the system settings, if the system property <tt>java.net.useSystemProxies</tt>
    4444     * is defined <strong>at startup</strong>. If the property is set later by the application,
  • trunk/src/org/openstreetmap/josm/io/DiffResultProcessor.java

    r4100 r5266  
    7070     *
    7171     * @param diffUploadResponse the response. Must not be null.
    72      * @param progressMonitor a progress monitor. Defaults to {@see NullProgressMonitor#INSTANCE} if null
     72     * @param progressMonitor a progress monitor. Defaults to {@link NullProgressMonitor#INSTANCE} if null
    7373     * @throws IllegalArgumentException thrown if diffUploadRequest is null
    7474     * @throws OsmDataParsingException thrown if the diffUploadRequest can't be parsed successfully
     
    105105     *
    106106     * @param cs the current changeset. Ignored if null.
    107      * @param monitor the progress monitor. Set to {@see NullProgressMonitor#INSTANCE} if null
     107     * @param monitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null
    108108     * @return the collection of processed primitives
    109109     */
  • trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java

    r4217 r5266  
    2929
    3030/**
    31  * Retrieves a set of {@see OsmPrimitive}s from an OSM server using the so called
     31 * Retrieves a set of {@link OsmPrimitive}s from an OSM server using the so called
    3232 * Multi Fetch API.
    3333 *
     
    7777
    7878    /**
    79      * Remembers an {@see OsmPrimitive}'s id. The id will
     79     * Remembers an {@link OsmPrimitive}'s id. The id will
    8080     * later be fetched as part of a Multi Get request.
    8181     *
     
    9494
    9595    /**
    96      * remembers an {@see OsmPrimitive}'s id. <code>ds</code> must include
    97      * an {@see OsmPrimitive} with id=<code>id</code>. The id will
     96     * remembers an {@link OsmPrimitive}'s id. <code>ds</code> must include
     97     * an {@link OsmPrimitive} with id=<code>id</code>. The id will
    9898     * later we fetched as part of a Multi Get request.
    9999     *
     
    103103     * @param id  the id
    104104     * @exception IllegalArgumentException thrown, if ds is null
    105      * @exception NoSuchElementException thrown, if ds doesn't include an {@see OsmPrimitive} with
     105     * @exception NoSuchElementException thrown, if ds doesn't include an {@link OsmPrimitive} with
    106106     *   id=<code>id</code>
    107107     */
     
    135135
    136136    /**
    137      * appends a {@see Node}s id to the list of ids which will be fetched from the server.
     137     * appends a {@link Node}s id to the list of ids which will be fetched from the server.
    138138     *
    139139     * @param node  the node (ignored, if null)
     
    148148
    149149    /**
    150      * appends a {@see Way}s id and the list of ids of nodes the way refers to the list of ids which will be fetched from the server.
     150     * appends a {@link Way}s id and the list of ids of nodes the way refers to the list of ids which will be fetched from the server.
    151151     *
    152152     * @param way the way (ignored, if null)
     
    167167
    168168    /**
    169      * appends a {@see Relation}s id to the list of ids which will be fetched from the server.
     169     * appends a {@link Relation}s id to the list of ids which will be fetched from the server.
    170170     *
    171171     * @param relation  the relation (ignored, if null)
     
    204204
    205205    /**
    206      * appends a list of {@see OsmPrimitive} to the list of ids which will be fetched from the server.
     206     * appends a list of {@link OsmPrimitive} to the list of ids which will be fetched from the server.
    207207     *
    208208     * @param primitives  the list of primitives (ignored, if null)
     
    223223
    224224    /**
    225      * extracts a subset of max {@see #MAX_IDS_PER_REQUEST} ids from <code>ids</code> and
     225     * extracts a subset of max {@link #MAX_IDS_PER_REQUEST} ids from <code>ids</code> and
    226226     * replies the subset. The extracted subset is removed from <code>ids</code>.
    227227     *
     
    248248    /**
    249249     * builds the Multi Get request string for a set of ids and a given
    250      * {@see OsmPrimitiveType}.
     250     * {@link OsmPrimitiveType}.
    251251     *
    252252     * @param type the type
     
    271271    /**
    272272     * builds the Multi Get request string for a single id and a given
    273      * {@see OsmPrimitiveType}.
     273     * {@link OsmPrimitiveType}.
    274274     *
    275275     * @param type the type
     
    286286
    287287    /**
    288      * invokes a Multi Get for a set of ids and a given {@see OsmPrimitiveType}.
    289      * The retrieved primitives are merged to {@see #outputDataSet}.
     288     * invokes a Multi Get for a set of ids and a given {@link OsmPrimitiveType}.
     289     * The retrieved primitives are merged to {@link #outputDataSet}.
    290290     *
    291291     * @param type the type
     
    309309
    310310    /**
    311      * invokes a Multi Get for a single id and a given {@see OsmPrimitiveType}.
    312      * The retrieved primitive is merged to {@see #outputDataSet}.
     311     * invokes a Multi Get for a single id and a given {@link OsmPrimitiveType}.
     312     * The retrieved primitive is merged to {@link #outputDataSet}.
    313313     *
    314314     * @param type the type
     
    333333
    334334    /**
    335      * invokes a sequence of Multi Gets for individual ids in a set of ids and a given {@see OsmPrimitiveType}.
    336      * The retrieved primitives are merged to {@see #outputDataSet}.
     335     * invokes a sequence of Multi Gets for individual ids in a set of ids and a given {@link OsmPrimitiveType}.
     336     * The retrieved primitives are merged to {@link #outputDataSet}.
    337337     *
    338338     * This method is used if one of the ids in pkg doesn't exist (the server replies with return code 404).
     
    380380
    381381    /**
    382      * merges the dataset <code>from</code> to {@see #outputDataSet}.
     382     * merges the dataset <code>from</code> to {@link #outputDataSet}.
    383383     *
    384384     * @param from the other dataset
     
    391391
    392392    /**
    393      * fetches a set of ids of a given {@see OsmPrimitiveType} from the server
     393     * fetches a set of ids of a given {@link OsmPrimitiveType} from the server
    394394     *
    395395     * @param ids the set of ids
     
    423423
    424424    /**
    425      * invokes one or more Multi Gets to fetch the {@see OsmPrimitive}s and replies
     425     * invokes one or more Multi Gets to fetch the {@link OsmPrimitive}s and replies
    426426     * the dataset of retrieved primitives. Note that the dataset includes non visible primitives too!
    427427     * In contrast to a simple Get for a node, a way, or a relation, a Multi Get always replies
     
    429429     * visible==false).
    430430     *
    431      * Invoke {@see #getMissingPrimitives()} to get a list of primitives which have not been
     431     * Invoke {@link #getMissingPrimitives()} to get a list of primitives which have not been
    432432     * found on  the server (the server response code was 404)
    433433     *
  • trunk/src/org/openstreetmap/josm/io/OsmApi.java

    r5084 r5266  
    5959
    6060    /**
    61      * replies the {@see OsmApi} for a given server URL
     61     * replies the {@link OsmApi} for a given server URL
    6262     *
    6363     * @param serverUrl  the server URL
     
    7575    }
    7676    /**
    77      * replies the {@see OsmApi} for the URL given by the preference <code>osm-server.url</code>
     77     * replies the {@link OsmApi} for the URL given by the preference <code>osm-server.url</code>
    7878     *
    7979     * @return the OsmApi
     
    387387     *
    388388     * @param changeset the changeset to update. Must not be null.
    389      * @param monitor the progress monitor. If null, uses the {@see NullProgressMonitor#INSTANCE}.
     389     * @param monitor the progress monitor. If null, uses the {@link NullProgressMonitor#INSTANCE}.
    390390     *
    391391     * @throws OsmTransferException if something goes wrong.
     
    428428     *
    429429     * @param changeset the changeset to be closed. Must not be null. changeset.getId() > 0 required.
    430      * @param monitor the progress monitor. If null, uses {@see NullProgressMonitor#INSTANCE}
     430     * @param monitor the progress monitor. If null, uses {@link NullProgressMonitor#INSTANCE}
    431431     *
    432432     * @throws OsmTransferException if something goes wrong.
  • trunk/src/org/openstreetmap/josm/io/OsmChangeReader.java

    r4532 r5266  
    100100     *
    101101     * @param source the source input stream. Must not be null.
    102      * @param progressMonitor  the progress monitor. If null, {@see NullProgressMonitor#INSTANCE} is assumed
     102     * @param progressMonitor  the progress monitor. If null, {@link NullProgressMonitor#INSTANCE} is assumed
    103103     *
    104104     * @return the dataset with the parsed data
  • trunk/src/org/openstreetmap/josm/io/OsmChangesetContentParser.java

    r4734 r5266  
    300300     * Parses the content
    301301     *
    302      * @param progressMonitor the progress monitor. Set to {@see NullProgressMonitor#INSTANCE}
     302     * @param progressMonitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE}
    303303     * if null
    304304     * @return the parsed data
  • trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java

    r4734 r5266  
    3232 * Parser for OSM history data.
    3333 *
    34  * It is slightly different from {@see OsmReader} because we don't build an internal graph of
    35  * {@see OsmPrimitive}s. We use objects derived from {@see HistoryOsmPrimitive} instead and we
    36  * keep the data in a dedicated {@see HistoryDataSet}.
     34 * It is slightly different from {@link OsmReader} because we don't build an internal graph of
     35 * {@link OsmPrimitive}s. We use objects derived from {@link HistoryOsmPrimitive} instead and we
     36 * keep the data in a dedicated {@link HistoryDataSet}.
    3737 *
    3838 */
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r5025 r5266  
    606606     *
    607607     * @param source the source input stream. Must not be null.
    608      * @param progressMonitor  the progress monitor. If null, {@see NullProgressMonitor#INSTANCE} is assumed
     608     * @param progressMonitor  the progress monitor. If null, {@link NullProgressMonitor#INSTANCE} is assumed
    609609     *
    610610     * @return the dataset with the parsed data
  • trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java

    r5251 r5266  
    2121/**
    2222 * OsmServerBackreferenceReader fetches the primitives from the OSM server which
    23  * refer to a specific primitive. For a {@see Node}, ways and relations are retrieved
    24  * which refer to the node. For a {@see Way} or a {@see Relation}, only relations are
     23 * refer to a specific primitive. For a {@link Node}, ways and relations are retrieved
     24 * which refer to the node. For a {@link Way} or a {@link Relation}, only relations are
    2525 * read.
    2626 *
     
    2929 * of these calls is to reply incomplete primitives only.
    3030 *
    31  * If you set {@see #setReadFull(boolean)} to true this reader uses a {@see MultiFetchServerObjectReader}
     31 * If you set {@link #setReadFull(boolean)} to true this reader uses a {@link MultiFetchServerObjectReader}
    3232 * to complete incomplete primitives.
    3333 *
     
    123123
    124124    /**
    125      * Reads referring ways from the API server and replies them in a {@see DataSet}
     125     * Reads referring ways from the API server and replies them in a {@link DataSet}
    126126     *
    127127     * @return the data set
     
    160160
    161161    /**
    162      * Reads referring relations from the API server and replies them in a {@see DataSet}
     162     * Reads referring relations from the API server and replies them in a {@link DataSet}
    163163     *
    164164     * @param progressMonitor the progress monitor
     
    203203     *
    204204     * <ul>
    205      *   <li>if this reader reads referers for a {@see Node}, referring ways are always
     205     *   <li>if this reader reads referers for a {@link Node}, referring ways are always
    206206     *     read individually from the server</li>
    207      *   <li>if this reader reads referers for an {@see Way} or a {@see Relation}, referring relations
    208      *    are only read fully if {@see #setReadFull(boolean)} is set to true.</li>
     207     *   <li>if this reader reads referers for an {@link Way} or a {@link Relation}, referring relations
     208     *    are only read fully if {@link #setReadFull(boolean)} is set to true.</li>
    209209     * </ul>
    210210     *
     
    249249    /**
    250250     * Reads the referring primitives from the OSM server, parses them and
    251      * replies them as {@see DataSet}
    252      *
    253      * @param progressMonitor the progress monitor. Set to {@see NullProgressMonitor#INSTANCE} if null.
     251     * replies them as {@link DataSet}
     252     *
     253     * @param progressMonitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null.
    254254     * @return the dataset with the referring primitives
    255255     * @exception OsmTransferException thrown if an error occurs while communicating with the server
  • trunk/src/org/openstreetmap/josm/io/OsmServerChangesetReader.java

    r3083 r5266  
    2222
    2323/**
    24  * Reads the history of an {@see OsmPrimitive} from the OSM API server.
     24 * Reads the history of an {@link OsmPrimitive} from the OSM API server.
    2525 *
    2626 */
     
    4747     * Queries a list
    4848     * @param query  the query specification. Must not be null.
    49      * @param monitor a progress monitor. Set to {@see NullProgressMonitor#INSTANCE} if null
     49     * @param monitor a progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null
    5050     * @return the list of changesets read from the server
    5151     * @throws IllegalArgumentException thrown if query is null
     
    8080     *
    8181     * @param id  the changeset id. id > 0 required.
    82      * @param monitor the progress monitor. Set to {@see NullProgressMonitor#INSTANCE} if null
     82     * @param monitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null
    8383     * @return the changeset read
    8484     * @throws OsmTransferException thrown if something goes wrong
     
    116116     *
    117117     * @param ids  the list of ids. Ignored if null. Only load changesets for ids > 0.
    118      * @param monitor the progress monitor. Set to {@see NullProgressMonitor#INSTANCE} if null
     118     * @param monitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null
    119119     * @return the changeset read
    120120     * @throws OsmTransferException thrown if something goes wrong
     
    165165     *
    166166     * @param id the changeset id. >0 required.
    167      * @param monitor the progress monitor. {@see NullProgressMonitor#INSTANCE} assumed if null.
     167     * @param monitor the progress monitor. {@link NullProgressMonitor#INSTANCE} assumed if null.
    168168     * @return the changeset content
    169169     * @throws IllegalArgumentException thrown if id <= 0
  • trunk/src/org/openstreetmap/josm/io/OsmServerHistoryReader.java

    r3083 r5266  
    1414
    1515/**
    16  * Reads the history of an {@see OsmPrimitive} from the OSM API server.
     16 * Reads the history of an {@link OsmPrimitive} from the OSM API server.
    1717 *
    1818 */
  • trunk/src/org/openstreetmap/josm/io/OsmServerObjectReader.java

    r4734 r5266  
    106106     * Downloads and parses the data.
    107107     *
    108      * @param progressMonitor the progress monitor. Set to {@see NullProgressMonitor#INSTANCE} if
     108     * @param progressMonitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if
    109109     * null
    110110     * @return the downloaded data
  • trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java

    r4645 r5266  
    185185     * @param primitives list of objects to send
    186186     * @param changeset the changeset the data is uploaded to. Must not be null.
    187      * @param monitor the progress monitor. If null, assumes {@see NullProgressMonitor#INSTANCE}
     187     * @param monitor the progress monitor. If null, assumes {@link NullProgressMonitor#INSTANCE}
    188188     * @throws IllegalArgumentException thrown if changeset is null
    189189     * @throws IllegalArgumentException thrown if strategy is null
  • trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgent.java

    r4690 r5266  
    1111 * A CredentialsAgent manages two credentials:
    1212 * <ul>
    13  *   <li>the credential for {@see RequestorType#SERVER} which is equal to the OSM API credentials
     13 *   <li>the credential for {@link RequestorType#SERVER} which is equal to the OSM API credentials
    1414 *   in JOSM</li>
    15  *   <li>the credential for {@see RequestorType#PROXY} which is equal to the credentials for an
     15 *   <li>the credential for {@link RequestorType#PROXY} which is equal to the credentials for an
    1616 *   optional HTTP proxy server a user may use</li>
    1717 *  </ul>
     
    2424     * Looks up the credentials for a given type.
    2525     *
    26      * @param the type of service. {@see RequestorType#SERVER} for the OSM API server, {@see RequestorType#PROXY}
     26     * @param the type of service. {@link RequestorType#SERVER} for the OSM API server, {@link RequestorType#PROXY}
    2727     * for a proxy server
    2828     * @return the credentials
     
    3434     * Saves the credentials in <code>credentials</code> for the given service type.
    3535     *
    36      * @param the type of service. {@see RequestorType#SERVER} for the OSM API server, {@see RequestorType#PROXY}
     36     * @param the type of service. {@link RequestorType#SERVER} for the OSM API server, {@link RequestorType#PROXY}
    3737     * for a proxy server
    3838     * @param credentials the credentials
     
    4343    /**
    4444     *
    45      * @param requestorType  the type of service. {@see RequestorType#SERVER} for the OSM API server, {@see RequestorType#PROXY}
     45     * @param requestorType  the type of service. {@link RequestorType#SERVER} for the OSM API server, {@link RequestorType#PROXY}
    4646     * for a proxy server
    4747     * @param noSuccessWithLastResponse true, if the last request with the supplied credentials failed; false otherwise.
  • trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgentResponse.java

    r4310 r5266  
    33
    44/**
    5  * CredentialsAgentResponse represents the response from {@see CredentialsAgent#getCredentials(java.net.Authenticator.RequestorType, boolean)}.
     5 * CredentialsAgentResponse represents the response from {@link CredentialsAgent#getCredentials(java.net.Authenticator.RequestorType, boolean)}.
    66 *
    77 * The response consists of the username and the password the requested credentials consists of.
    88 * In addition, it provides information whether authentication was canceled by the user, i.e.
    9  * because he or she canceled a username/password dialog (see {@see #isCanceled()}.
     9 * because he or she canceled a username/password dialog (see {@link #isCanceled()}.
    1010 *
    1111 */
  • trunk/src/org/openstreetmap/josm/io/auth/CredentialsManager.java

    r5111 r5266  
    1414 * CredentialManager is a factory for the single credential agent used.
    1515 *
    16  * Currently, it defaults to replying an instance of {@see JosmPreferencesCredentialAgent}.
     16 * Currently, it defaults to replying an instance of {@link JosmPreferencesCredentialAgent}.
    1717 *
    1818 */
  • trunk/src/org/openstreetmap/josm/io/auth/DefaultAuthenticator.java

    r4690 r5266  
    1212 * This is the default authenticator used in JOSM. It delegates lookup of credentials
    1313 * for the OSM API and an optional proxy server to the currently configured
    14  * {@see CredentialsManager}.
     14 * {@link CredentialsManager}.
    1515 *
    1616 */
Note: See TracChangeset for help on using the changeset viewer.