Ignore:
Timestamp:
2020-06-07T14:49:02+02:00 (4 years ago)
Author:
Don-vip
Message:

see #19334 - javadoc fixes + protected constructors for abstract classes

Location:
trunk/src/org/openstreetmap/josm/gui/download
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java

    r14215 r16553  
    2727     * @param downloadSource The download source this panel is for
    2828     */
    29     public AbstractDownloadSourcePanel(final DownloadSource<T> downloadSource) {
     29    protected AbstractDownloadSourcePanel(final DownloadSource<T> downloadSource) {
    3030        Objects.requireNonNull(downloadSource);
    3131        this.downloadSource = downloadSource;
  • trunk/src/org/openstreetmap/josm/gui/download/IDownloadSourceType.java

    r16503 r16553  
    1717 */
    1818public interface IDownloadSourceType {
     19
    1920    /**
     21     * Returns the checkbox to be added to the UI.
    2022     * @return The checkbox to be added to the UI
    2123     */
     
    2527
    2628    /**
     29     * Returns the checkbox to be added to the UI.
    2730     * @param checkboxChangeListener The listener for checkboxes (may be {@code null})
    2831     * @return The checkbox to be added to the UI
     
    3134
    3235    /**
     36     * Returns the download task class which will be getting the data.
    3337     * @return The {@link DownloadTask} class which will be getting the data
    3438     */
     
    3640
    3741    /**
     42     * Determines the last state of the download type.
    3843     * @return The boolean indicating the last state of the download type
    3944     */
     
    4348
    4449    /**
     50     * Returns the boolean property for this particular download type.
    4551     * @return The boolean property for this particular download type
    4652     */
  • trunk/src/org/openstreetmap/josm/gui/download/OSMDownloadSource.java

    r16520 r16553  
    132132
    133133    /**
     134     * Returns the possible downloads that JOSM can make in the default Download screen.
    134135     * @return The possible downloads that JOSM can make in the default Download screen
    135136     * @since 16503
     
    152153
    153154    /**
     155     * Removes a download source type.
    154156     * @param type The IDownloadSourceType object to remove
    155157     * @return {@code true} if this download types contained the specified object
     
    360362            }
    361363        }
    362 
    363364    }
    364365
     
    371372
    372373        /**
     374         * Constructs a new {@code OSMDownloadData}.
    373375         * @param downloadPossibilities A list of DataDownloadTypes (instantiated, with
    374376         *                              options set)
     
    379381
    380382        /**
     383         * Returns the download possibilities.
    381384         * @return A list of DataDownloadTypes (instantiated, with options set)
    382385         */
Note: See TracChangeset for help on using the changeset viewer.