Changeset 16553 in josm for trunk/src/org


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
Files:
134 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AbstractInfoAction.java

    r15706 r16553  
    3030     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    3131     */
    32     public AbstractInfoAction(boolean installAdapters) {
     32    protected AbstractInfoAction(boolean installAdapters) {
    3333        super(installAdapters);
    3434    }
     
    4848     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    4949     */
    50     public AbstractInfoAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register,
     50    protected AbstractInfoAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register,
    5151            String toolbarId, boolean installAdapters) {
    5252        super(name, iconName, tooltip, shortcut, register, toolbarId, installAdapters);
  • trunk/src/org/openstreetmap/josm/actions/AbstractMergeAction.java

    r15851 r16553  
    9797     * @param register register this action for the toolbar preferences?
    9898     */
    99     public AbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register) {
     99    protected AbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register) {
    100100        super(name, iconName, tooltip, shortcut, register);
    101101    }
     
    115115     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    116116     */
    117     public AbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut,
     117    protected AbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut,
    118118    boolean register, String toolbar, boolean installAdapters) {
    119119        super(name, iconName, tooltip, shortcut, register, toolbar, installAdapters);
  • trunk/src/org/openstreetmap/josm/actions/AbstractPasteAction.java

    r13649 r16553  
    3939     * @param registerInToolbar register this action for the toolbar preferences?
    4040     */
    41     public AbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut,
     41    protected AbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut,
    4242            boolean registerInToolbar) {
    4343        this(name, iconName, tooltip, shortcut, registerInToolbar, null);
     
    5757     * @param toolbarId identifier for the toolbar preferences. The iconName is used, if this parameter is null
    5858     */
    59     public AbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut,
     59    protected AbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut,
    6060            boolean registerInToolbar, String toolbarId) {
    6161        super(name, iconName, tooltip, shortcut, registerInToolbar, toolbarId, true);
  • trunk/src/org/openstreetmap/josm/actions/AbstractSelectAction.java

    r14390 r16553  
    1717     * Constructs a new {@code AbstractSelectAction}.
    1818     */
    19     public AbstractSelectAction() {
     19    protected AbstractSelectAction() {
    2020        putValue(NAME, tr("Select"));
    2121        putValue(SHORT_DESCRIPTION, tr("Selects those elements on the map which are chosen on the list above."));
  • trunk/src/org/openstreetmap/josm/actions/AbstractShowHistoryAction.java

    r16499 r16553  
    1313 */
    1414public abstract class AbstractShowHistoryAction extends AbstractAction {
     15
    1516    /**
    1617     * Constructs a new {@code AbstractShowHistoryAction}.
    1718     */
    18     public AbstractShowHistoryAction() {
     19    protected AbstractShowHistoryAction() {
    1920        putValue(NAME, tr("History"));
    2021        putValue(SHORT_DESCRIPTION, tr("Download and show the history of the selected objects"));
  • trunk/src/org/openstreetmap/josm/actions/AbstractUploadAction.java

    r15609 r16553  
    2929     * @param registerInToolbar register this action for the toolbar preferences?
    3030     */
    31     public AbstractUploadAction(String name, String iconName, String tooltip, Shortcut shortcut,
     31    protected AbstractUploadAction(String name, String iconName, String tooltip, Shortcut shortcut,
    3232            boolean registerInToolbar) {
    3333        super(name, iconName, tooltip, shortcut, registerInToolbar);
  • trunk/src/org/openstreetmap/josm/actions/ActionParameter.java

    r12553 r16553  
    1717     * @param name parameter name (the key)
    1818     */
    19     public ActionParameter(String name) {
     19    protected ActionParameter(String name) {
    2020        this.name = name;
    2121    }
  • trunk/src/org/openstreetmap/josm/actions/DiskAccessAction.java

    r8509 r16553  
    2626     * @since 1084
    2727     */
    28     public DiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut) {
     28    protected DiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut) {
    2929        super(name, iconName, tooltip, shortcut, true);
    3030    }
     
    4242     * @since 5438
    4343     */
    44     public DiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register,
     44    protected DiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register,
    4545            String toolbarId, boolean installAdapters) {
    4646        super(name, iconName, tooltip, shortcut, register, toolbarId, installAdapters);
  • trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java

    r16068 r16553  
    6060     * @param registerInToolbar register this action for the toolbar preferences?
    6161     */
    62     public DownloadAlongAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
     62    protected DownloadAlongAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
    6363        super(name, iconName, tooltip, shortcut, registerInToolbar);
    6464    }
  • trunk/src/org/openstreetmap/josm/actions/JosmAction.java

    r16509 r16553  
    7979     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    8080     */
    81     public JosmAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar,
     81    protected JosmAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar,
    8282            String toolbarId, boolean installAdapters) {
    8383        super(name);
     
    127127     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    128128     */
    129     public JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar,
     129    protected JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar,
    130130            String toolbarId, boolean installAdapters) {
    131131        this(name, iconName == null ? null : new ImageProvider(iconName).setOptional(true), tooltip, shortcut, registerInToolbar,
     
    149149     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    150150     */
    151     public JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar, boolean installAdapters) {
     151    protected JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar, boolean installAdapters) {
    152152        this(name, iconName, tooltip, shortcut, registerInToolbar, null, installAdapters);
    153153    }
     
    168168     * @param registerInToolbar register this action for the toolbar preferences?
    169169     */
    170     public JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
     170    protected JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
    171171        this(name, iconName, tooltip, shortcut, registerInToolbar, null, true);
    172172    }
     
    175175     * Constructs a new {@code JosmAction}.
    176176     */
    177     public JosmAction() {
     177    protected JosmAction() {
    178178        this(true);
    179179    }
     
    184184     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    185185     */
    186     public JosmAction(boolean installAdapters) {
     186    protected JosmAction(boolean installAdapters) {
    187187        setHelpId();
    188188        if (installAdapters) {
     
    203203     * @since 14012
    204204     */
    205     public JosmAction(String name, String iconName, String tooltip, List<Shortcut> shortcuts) {
     205    protected JosmAction(String name, String iconName, String tooltip, List<Shortcut> shortcuts) {
    206206        this(name, iconName, tooltip, shortcuts.get(0), true, null, true);
    207207        for (int i = 1; i < shortcuts.size(); i++) {
  • trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java

    r16509 r16553  
    4444     * @param shortcut A ready-created shortcut object or {@code null} if you don't want a shortcut
    4545     */
    46     public SaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut) {
     46    protected SaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut) {
    4747        super(name, iconName, tooltip, shortcut);
    4848    }
     
    5757     * @since 15496
    5858     */
    59     public SaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut, boolean quiet) {
     59    protected SaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut, boolean quiet) {
    6060        super(name, iconName, tooltip, shortcut);
    6161        this.quiet = quiet;
  • trunk/src/org/openstreetmap/josm/actions/ToggleAction.java

    r14784 r16553  
    4040     * @param installAdapters false, if you don't want to install layer changed and selection changed adapters
    4141     */
    42     public ToggleAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar,
     42    protected ToggleAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar,
    4343            String toolbarId, boolean installAdapters) {
    4444        super(name, icon, tooltip, shortcut, registerInToolbar, toolbarId, installAdapters);
     
    6060     * @param registerInToolbar register this action for the toolbar preferences?
    6161     */
    62     public ToggleAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
     62    protected ToggleAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
    6363        super(name, iconName, tooltip, shortcut, registerInToolbar);
    6464        // It is required to set the SELECTED_KEY to a non-null value in order to let Swing components update it
  • trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java

    r16370 r16553  
    451451    /**
    452452     * dupe all nodes that are selected, and put the copies on the selected way
    453      * @throws UserCancelException
    454      *
     453     * @throws UserCancelException if user cancels choice
    455454     */
    456455    private void unglueOneWayAnyNodes() throws UserCancelException {
  • trunk/src/org/openstreetmap/josm/actions/audio/AbstractAudioAction.java

    r16509 r16553  
    2222     * @param registerInToolbar register this action for the toolbar preferences?
    2323     */
    24     public AbstractAudioAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
     24    protected AbstractAudioAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
    2525        super(name, iconName, tooltip, shortcut, registerInToolbar);
    2626        updateEnabledState();
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioFastSlowAction.java

    r12846 r16553  
    2727     * @param fast {@code true} to increase speed (faster audio), {@code false} to decrease it (slower audio).
    2828     */
    29     public AudioFastSlowAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean fast) {
     29    protected AudioFastSlowAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean fast) {
    3030        super(name, iconName, tooltip, shortcut, true);
    3131        multiplier = Config.getPref().getDouble("audio.fastfwdmultiplier", 1.3);
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/AbstractDownloadTask.java

    r15784 r16553  
    2525     * Constructs a new {@code AbstractDownloadTask}.
    2626     */
    27     public AbstractDownloadTask() {
     27    protected AbstractDownloadTask() {
    2828        errorMessages = new ArrayList<>();
    2929    }
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java

    r16144 r16553  
    233233         * @param zoomAfterDownload If true, the map view will zoom to download area after download
    234234         */
    235         public AbstractInternalTask(DownloadParams settings, String title, boolean ignoreException, boolean zoomAfterDownload) {
     235        protected AbstractInternalTask(DownloadParams settings, String title, boolean ignoreException, boolean zoomAfterDownload) {
    236236            super(title, ignoreException);
    237237            this.settings = Objects.requireNonNull(settings);
     
    249249         * @param zoomAfterDownload If true, the map view will zoom to download area after download
    250250         */
    251         public AbstractInternalTask(DownloadParams settings, String title, ProgressMonitor progressMonitor, boolean ignoreException,
     251        protected AbstractInternalTask(DownloadParams settings, String title, ProgressMonitor progressMonitor, boolean ignoreException,
    252252                boolean zoomAfterDownload) {
    253253            super(title, progressMonitor, ignoreException);
  • trunk/src/org/openstreetmap/josm/actions/mapmode/MapMode.java

    r14005 r16553  
    4444     * @since 11713
    4545     */
    46     public MapMode(String name, String iconName, String tooltip, Shortcut shortcut, Cursor cursor) {
     46    protected MapMode(String name, String iconName, String tooltip, Shortcut shortcut, Cursor cursor) {
    4747        super(name, "mapmode/"+iconName, tooltip, shortcut, false);
    4848        this.cursor = cursor;
     
    5858     * @since 11713
    5959     */
    60     public MapMode(String name, String iconName, String tooltip, Cursor cursor) {
     60    protected MapMode(String name, String iconName, String tooltip, Cursor cursor) {
    6161        putValue(NAME, name);
    6262        new ImageProvider("mapmode", iconName).getResource().attachImageIcon(this);
  • trunk/src/org/openstreetmap/josm/command/Command.java

    r16513 r16553  
    135135     * @since 11240
    136136     */
    137     public Command(DataSet data) {
     137    protected Command(DataSet data) {
    138138        CheckParameterUtil.ensureParameterNotNull(data, "data");
    139139        this.data = data;
  • trunk/src/org/openstreetmap/josm/command/TransformNodesCommand.java

    r12726 r16553  
    5151     * @throws NoSuchElementException if objects is empty
    5252     */
    53     public TransformNodesCommand(Collection<? extends OsmPrimitive> objects) {
     53    protected TransformNodesCommand(Collection<? extends OsmPrimitive> objects) {
    5454        super(objects.iterator().next().getDataSet());
    5555        this.nodes = AllNodesVisitor.getAllNodes(objects);
  • trunk/src/org/openstreetmap/josm/command/conflict/ConflictResolveCommand.java

    r14143 r16553  
    2929     * @param ds the data set. Must not be null.
    3030     */
    31     public ConflictResolveCommand(DataSet ds) {
     31    protected ConflictResolveCommand(DataSet ds) {
    3232        super(ds);
    3333    }
  • trunk/src/org/openstreetmap/josm/data/Bounds.java

    r14521 r16553  
    361361
    362362    /**
     363     * Returns center of the bounding box.
    363364     * @return Center of the bounding box.
    364365     */
  • trunk/src/org/openstreetmap/josm/data/cache/CacheEntry.java

    r10723 r16553  
    2222
    2323    /**
     24     * Returns cache entry content.
    2425     * @return cache entry content
    2526     */
  • trunk/src/org/openstreetmap/josm/data/cache/CacheEntryAttributes.java

    r16398 r16553  
    5454
    5555    /**
     56     * Determines if the entry is marked as "no tile at this zoom level".
    5657     * @return if the entry is marked as "no tile at this zoom level"
    5758     */
     
    6970
    7071    /**
     72     * Returns ETag header value, that was returned for this entry.
    7173     * @return ETag header value, that was returned for this entry.
    7274     */
     
    101103
    102104    /**
     105     * Returns last modification of the object in cache in milliseconds from Epoch.
    103106     * @return last modification of the object in cache in milliseconds from Epoch
    104107     */
     
    117120
    118121    /**
     122     * Returns when the object expires in milliseconds from Epoch.
    119123     * @return when the object expires in milliseconds from Epoch
    120124     */
     
    143147
    144148    /**
     149     * Returns HTTP response code.
    145150     * @return http status code
    146151     * @since 8389
     
    178183
    179184    /**
     185     * Returns error message returned while retrieving this object.
    180186     * @return error message returned while retrieving this object
    181187     */
     
    185191
    186192    /**
     193     * Sets error related to this object.
    187194     * @param error error related to this object
    188195     * @since 10469
     
    193200
    194201    /**
     202     * Sets error message related to this object.
    195203     * @param message error message related to this object
    196204     */
     
    200208
    201209    /**
     210     * Sets exception that caused error.
    202211     * @param e exception that caused error
    203      *
    204212     */
    205213    public void setException(Exception e) {
     
    208216
    209217    /**
     218     * Returns optional exception that was thrown when fetching resource.
    210219     * @return Optional exception that was thrown when fetching resource
    211      *
    212220     */
    213221    public Optional<Class<? extends Exception>> getException() {
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java

    r16398 r16553  
    100100     * @param downloadJobExecutor that will be executing the jobs
    101101     */
    102     public JCSCachedTileLoaderJob(ICacheAccess<K, V> cache,
     102    protected JCSCachedTileLoaderJob(ICacheAccess<K, V> cache,
    103103            TileJobOptions options,
    104104            ThreadPoolExecutor downloadJobExecutor) {
     
    117117     * @param options of the request
    118118     */
    119     public JCSCachedTileLoaderJob(ICacheAccess<K, V> cache,
     119    protected JCSCachedTileLoaderJob(ICacheAccess<K, V> cache,
    120120            TileJobOptions options) {
    121121        this(cache, options, DEFAULT_DOWNLOAD_JOB_DISPATCHER);
     
    174174
    175175    /**
    176      *
    177      * @return checks if object from cache has sufficient data to be returned
     176     * Checks if object from cache has sufficient data to be returned.
     177     * @return {@code true} if object from cache has sufficient data to be returned
    178178     */
    179179    protected boolean isObjectLoadable() {
     
    195195
    196196    /**
     197     * Returns key under which discovered server settings will be kept.
    197198     * @return key under which discovered server settings will be kept
    198199     */
  • trunk/src/org/openstreetmap/josm/data/conflict/Conflict.java

    r10662 r16553  
    9898
    9999    /**
    100      *
     100     * Determines if my primitive was deleted but it has set non deleted status.
    101101     * @return True if my primitive was deleted but it has set non deleted status because it's referred by another
    102102     * primitive and references to deleted primitives are not allowed.
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r16310 r16553  
    182182
    183183    /**
     184     * Determines if the other point has almost the same lat/lon values.
    184185     * @param other other lat/lon
    185186     * @return <code>true</code> if the other point has almost the same lat/lon
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java

    r16488 r16553  
    11661166
    11671167    /**
     1168     * Determines whether anything has been modified.
    11681169     * @return whether anything has been modified (e.g. colors)
    11691170     * @since 15496
     
    12141215
    12151216        /**
    1216          * @return the URI of the namesapce
     1217         * Returns the URI of the namespace.
     1218         * @return the URI of the namespace
    12171219         */
    12181220        public String getURI() {
     
    12211223
    12221224        /**
     1225         * Returns the prefix of the namespace.
    12231226         * @return the prefix of the namespace, determined from URI if possible
    12241227         */
     
    12281231
    12291232        /**
     1233         * Returns the location of the schema.
    12301234         * @return the location of the schema
    12311235         */
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxExtension.java

    r16436 r16553  
    9494
    9595    /**
     96     * Returns the qualified name of the XML element.
    9697     * @return the qualified name of the XML element
    9798     */
     
    101102
    102103    /**
     104     * Returns the prefix of the XML namespace.
    103105     * @return the prefix of the XML namespace
    104106     */
     
    108110
    109111    /**
     112     * Returns the key (local element name) of the extension.
    110113     * @return the key (local element name) of the extension
    111114     */
     
    115118
    116119    /**
     120     * Returns the flattened extension key of this extension.
    117121     * @return the flattened extension key of this extension, used for conversion to OSM layers
    118122     */
    119123    public String getFlatKey() {
    120124        String ret = "";
    121         if (parent != null && parent instanceof GpxExtension) {
     125        if (parent instanceof GpxExtension) {
    122126            GpxExtension ext = (GpxExtension) parent;
    123127            ret = ext.getFlatKey() + ":";
     
    144148
    145149    /**
     150     * Returns the value of the extension.
    146151     * @return the value of the extension
    147152     */
     
    151156
    152157    /**
     158     * Sets the value.
    153159     * @param value the value to set
    154160     */
     
    204210
    205211    /**
     212     * Determines if this extension should be written.
    206213     * @return if this extension should be written, used for hiding colors during export without removing them
    207214     */
     
    211218
    212219    /**
     220     * Returns the parent element of this extension.
    213221     * @return the parent element of this extension, can be another extension or gpx elements (data, track, segment, ...)
    214222     */
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxExtensionCollection.java

    r16436 r16553  
    250250
    251251    /**
     252     * Determines if this collection contains writable extensions.
    252253     * @return <code>true</code> if this collection contains writable extensions
    253254     */
  • trunk/src/org/openstreetmap/josm/data/imagery/AbstractWMSTileSource.java

    r14436 r16553  
    4444     * @param tileProjection the tile projection
    4545     */
    46     public AbstractWMSTileSource(TileSourceInfo info, Projection tileProjection) {
     46    protected AbstractWMSTileSource(TileSourceInfo info, Projection tileProjection) {
    4747        super(info);
    4848        this.tileProjection = tileProjection;
  • trunk/src/org/openstreetmap/josm/data/imagery/DefaultLayer.java

    r14214 r16553  
    4141
    4242    /**
     43     * Returns layer name of the default layer.
    4344     * @return layer name of the default layer
    4445     */
     
    4849
    4950    /**
     51     * Returns default tileMatrixSet. Only usable for WMTS
    5052     * @return default tileMatrixSet. Only usable for WMTS
    5153     */
     
    5557
    5658    /**
     59     * Returns style for this WMS / WMTS layer to use.
    5760     * @return style for this WMS / WMTS layer to use
    5861     */
     
    6265
    6366    /**
     67     * Returns JSON representation of the default layer object.
    6468     * @return JSON representation of the default layer object
    6569     */
  • trunk/src/org/openstreetmap/josm/data/imagery/LayerDetails.java

    r13870 r16553  
    4545
    4646    /**
     47     * Returns projections that are supported by this layer.
    4748     * @return projections that are supported by this layer
    4849     */
     
    5758
    5859    /**
    59      *
     60     * Returns styles defined for this layer.
    6061     * @return styles defined for this layer
    6162     */
     
    7071
    7172    /**
    72      * @return title "Human readable" title of this layer
     73     * Returns "Human readable" title of this layer
     74     * @return "Human readable" title of this layer
    7375     * @see LayerDetails#getName()
    7476     */
     
    7880
    7981    /**
    80      * @param title set title of this layer
     82     * Sets title of this layer
     83     * @param title title of this layer
    8184     * @see LayerDetails#getName()
    8285     */
     
    104107
    105108    /**
    106      * @param name sets the name of this Layer
     109     * Sets the name of this Layer.
     110     * @param name the name of this Layer
    107111     * @see LayerDetails#getName()
    108112     */
     
    129133
    130134    /**
    131      *
     135     * Returns bounds within layer might be queried.
    132136     * @return bounds within layer might be queried
    133137     */
     
    137141
    138142    /**
    139      * sets bounds of this layer
     143     * Sets bounds of this layer
    140144     * @param bounds of this layer
    141145     */
     
    151155
    152156    /**
    153      *
    154      * @return parent layer for his layer
     157     * Returns parent layer for this layer.
     158     * @return parent layer for this layer
    155159     */
    156160    public LayerDetails getParent() {
     
    168172
    169173    /**
    170      *
     174     * Returns children layers of this layer.
    171175     * @return children layers of this layer
    172176     */
     
    184188
    185189    /**
     190     * Returns abstract of this layer.
    186191     * @return "Narrative description of the layer"
    187192     */
     
    199204
    200205    /**
     206     * Returns flattened stream of this layer and its children.
    201207     * @return flattened stream of this layer and its children (as well as recursively children of its children)
    202208     */
  • trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java

    r16398 r16553  
    6363
    6464    /**
     65     * Returns a new {@link ThreadPoolExecutor}.
    6566     * @param nameFormat see {@link Utils#newThreadFactory(String, int)}
    6667     * @param workers number of worker thread to keep
     
    7273
    7374    /**
     75     * Returns a new {@link ThreadPoolExecutor}.
    7476     * @param nameFormat see {@link Utils#newThreadFactory(String, int)}
    7577     * @param workers number of worker thread to keep
     
    8991
    9092    /**
     93     * Returns a new {@link ThreadPoolExecutor}.
    9194     * @param name name of threads
    92      * @return new ThreadPoolExecutor that will use a @see HostLimitQueue based queue, with default number of threads
     95     * @return new ThreadPoolExecutor that will use a {@link HostLimitQueue} based queue, with default number of threads
    9396     */
    9497    public static ThreadPoolExecutor getNewThreadPoolExecutor(String name) {
     
    112115
    113116    /**
     117     * Returns cache statistics as string.
    114118     * @return cache statistics as string
    115119     */
     
    148152
    149153    /**
     154     * Returns download executor that is used by this factory.
    150155     * @return download executor that is used by this factory
    151156     */
  • trunk/src/org/openstreetmap/josm/data/imagery/TileJobOptions.java

    r13742 r16553  
    99 *
    1010 * @author Wiktor Niesiobedzki
    11  *
     11 * @since 13733
    1212 */
    1313public class TileJobOptions {
     
    3434
    3535    /**
    36      *
     36     * Returns socket connection timeout in milliseconds.
    3737     * @return socket connection timeout in milliseconds
    3838     */
     
    4242
    4343    /**
    44      *
     44     * Returns socket read timeout in milliseconds.
    4545     * @return socket read timeout in milliseconds
    4646     */
     
    5050
    5151    /**
    52      *
     52     * Returns unmodifiable map with headers to be sent to tile server.
    5353     * @return unmodifiable map with headers to be sent to tile server
    5454     */
     
    5858
    5959    /**
    60      *
     60     * Returns minimum cache expire time in seconds for downloaded tiles.
    6161     * @return minimum cache expire time in seconds for downloaded tiles
    6262     */
  • trunk/src/org/openstreetmap/josm/data/imagery/WMSEndpointTileSource.java

    r16056 r16553  
    8686
    8787    /**
    88      *
     88     * Returns list of EPSG codes that current layer selection supports.
    8989     * @return list of EPSG codes that current layer selection supports (this may differ from layer to layer)
    9090     */
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r16436 r16553  
    175175
    176176        /**
    177          *
     177         * Returns identifier of this TileMatrixSet.
    178178         * @return identifier of this TileMatrixSet
    179179         */
     
    183183
    184184        /**
    185          *
     185         * Returns projection of this tileMatrix.
    186186         * @return projection of this tileMatrix
    187187         */
     
    254254
    255255        /**
    256          *
     256         * Returns identifier of this layer.
    257257         * @return identifier of this layer
    258258         */
     
    262262
    263263        /**
    264          *
     264         * Returns style of this layer.
    265265         * @return style of this layer
    266266         */
     
    270270
    271271        /**
    272          *
     272         * Returns tileMatrixSet of this layer.
    273273         * @return tileMatrixSet of this layer
    274274         */
     
    10691069
    10701070    /**
     1071     * Group layers by name and tile matrix set.
    10711072     * @param layers to be grouped
    10721073     * @return list with entries - grouping identifier + list of layers
     
    10791080
    10801081    /**
     1082     * Returns set of projection codes that this TileSource supports.
    10811083     * @return set of projection codes that this TileSource supports
    10821084     */
  • trunk/src/org/openstreetmap/josm/data/osm/AbstractDataSourceChangeEvent.java

    r15609 r16553  
    2424     * @param old    The previous set of DataSources
    2525     */
    26     public AbstractDataSourceChangeEvent(DataSet source, Set<DataSource> old) {
     26    protected AbstractDataSourceChangeEvent(DataSet source, Set<DataSource> old) {
    2727        CheckParameterUtil.ensureParameterNotNull(source, "source");
    2828        CheckParameterUtil.ensureParameterNotNull(old, "old");
  • trunk/src/org/openstreetmap/josm/data/osm/BBox.java

    r15877 r16553  
    378378
    379379    /**
    380      * @return true if the bbox covers a part of the planets surface
     380     * Determines if the bbox covers a part of the planet surface.
     381     * @return true if the bbox covers a part of the planet surface.
    381382     * Height and width must be non-negative, but may (both) be 0.
    382383     * @since 11269
     
    387388
    388389    /**
    389      * @return true if the bbox  is avalid and covers a part of the planets surface
     390     * Determines if the bbox is valid and covers a part of the planet surface.
     391     * @return true if the bbox is valid and covers a part of the planet surface
    390392     * @since 11269
    391393     */
  • trunk/src/org/openstreetmap/josm/data/osm/ChangesetDataSet.java

    r14961 r16553  
    177177
    178178    /**
     179     * Returns an unmodifiable set of all primitives in this dataset.
    179180     * @return an unmodifiable set of all primitives in this dataset.
    180181     * @since 14946
  • trunk/src/org/openstreetmap/josm/data/osm/DataSelectionListener.java

    r16143 r16553  
    9696        private final Set<OsmPrimitive> old;
    9797
    98         public AbstractSelectionEvent(DataSet source, Set<OsmPrimitive> old) {
     98        protected AbstractSelectionEvent(DataSet source, Set<OsmPrimitive> old) {
    9999            CheckParameterUtil.ensureParameterNotNull(source, "source");
    100100            CheckParameterUtil.ensureParameterNotNull(old, "old");
  • trunk/src/org/openstreetmap/josm/data/osm/DataSet.java

    r16546 r16553  
    12781278
    12791279    /**
     1280     * Determines if this Dataset contains no primitives.
    12801281     * @return true if this Dataset contains no primitives
    12811282     * @since 14835
  • trunk/src/org/openstreetmap/josm/data/osm/Hash.java

    r9243 r16553  
    66 * based on some inner state of an object for a set.
    77 * It supports two type parameters to implement effective foreign key implementation
    8  * inside (@link Storage}, but for basic use, both type parameters are the same.
     8 * inside {@link Storage}, but for basic use, both type parameters are the same.
    99 *
    1010 * For use cases, see {@link Storage}.
  • trunk/src/org/openstreetmap/josm/data/osm/Node.java

    r16463 r16553  
    129129    }
    130130
    131     protected Node(long id, boolean allowNegative) {
     131    Node(long id, boolean allowNegative) {
    132132        super(id, allowNegative);
    133133    }
  • trunk/src/org/openstreetmap/josm/data/osm/PrimitiveData.java

    r16451 r16553  
    3232     * @since 12017
    3333     */
    34     public PrimitiveData(long id) {
     34    protected PrimitiveData(long id) {
    3535        this.id = id;
    3636    }
     
    4040     * @param data the data to copy
    4141     */
    42     public PrimitiveData(PrimitiveData data) {
     42    protected PrimitiveData(PrimitiveData data) {
    4343        cloneFrom(data);
    4444    }
  • trunk/src/org/openstreetmap/josm/data/osm/Relation.java

    r16546 r16553  
    182182    }
    183183
    184     protected Relation(long id, boolean allowNegative) {
     184    Relation(long id, boolean allowNegative) {
    185185        super(id, allowNegative);
    186186    }
  • trunk/src/org/openstreetmap/josm/data/osm/Way.java

    r16546 r16553  
    182182    }
    183183
    184     protected Way(long id, boolean allowNegative) {
     184    Way(long id, boolean allowNegative) {
    185185        super(id, allowNegative);
    186186    }
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java

    r16123 r16553  
    5454     * @throws IllegalArgumentException if preconditions are violated
    5555     */
    56     public HistoryOsmPrimitive(long id, long version, boolean visible, User user, long changesetId, Date timestamp) {
     56    protected HistoryOsmPrimitive(long id, long version, boolean visible, User user, long changesetId, Date timestamp) {
    5757        this(id, version, visible, user, changesetId, timestamp, true);
    5858    }
     
    7373     * @since 5440
    7474     */
    75     public HistoryOsmPrimitive(long id, long version, boolean visible, User user, long changesetId, Date timestamp,
     75    protected HistoryOsmPrimitive(long id, long version, boolean visible, User user, long changesetId, Date timestamp,
    7676            boolean checkHistoricParams) {
    7777        ensurePositiveLong(id, "id");
     
    9595     * @param p the primitive
    9696     */
    97     public HistoryOsmPrimitive(OsmPrimitive p) {
     97    protected HistoryOsmPrimitive(OsmPrimitive p) {
    9898        this(p.getId(), p.getVersion(), p.isVisible(), p.getUser(), p.getChangesetId(), p.getTimestamp());
    9999    }
  • trunk/src/org/openstreetmap/josm/data/osm/search/PushbackTokenizer.java

    r16260 r16553  
    3838
    3939        /**
     40         * Returns the range start.
    4041         * @return The start
    4142         */
     
    4546
    4647        /**
     48         * Returns the range end.
    4749         * @return The end (inclusive)
    4850         */
  • trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java

    r16491 r16553  
    335335        protected final Match match;
    336336
    337         public UnaryMatch(Match match) {
     337        protected UnaryMatch(Match match) {
    338338            if (match == null) {
    339339                // "operator" (null) should mean the same as "operator()"
     
    383383         * @param rhs Right hand side
    384384         */
    385         public AbstractBinaryMatch(Match lhs, Match rhs) {
     385        protected AbstractBinaryMatch(Match lhs, Match rhs) {
    386386            this.lhs = lhs;
    387387            this.rhs = rhs;
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java

    r14734 r16553  
    135135
    136136    /**
     137     * Returns the bounding box.
    137138     * @return The bounding box or <code>null</code> if no coordinates have passed
    138139     */
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRenderer.java

    r15292 r16553  
    7575     * @throws IllegalArgumentException if {@code nc} is null
    7676     */
    77     public AbstractMapRenderer(Graphics2D g, NavigatableComponent nc, boolean isInactiveMode) {
     77    protected AbstractMapRenderer(Graphics2D g, NavigatableComponent nc, boolean isInactiveMode) {
    7878        CheckParameterUtil.ensureParameterNotNull(g);
    7979        CheckParameterUtil.ensureParameterNotNull(nc);
  • trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java

    r16488 r16553  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.data.preferences;
     3
     4import java.util.Objects;
    35
    46import org.openstreetmap.josm.spi.preferences.Config;
     
    911import org.openstreetmap.josm.tools.bugreport.BugReport;
    1012
    11 import java.util.Objects;
    12 
    1313/**
    1414 * Captures the common functionality of preference properties
     
    160160     * @since 5464
    161161     */
    162     public AbstractProperty(String key, T defaultValue) {
     162    protected AbstractProperty(String key, T defaultValue) {
    163163        // Config.getPref() should not change in production but may change during tests.
    164164        preferences = Config.getPref();
  • trunk/src/org/openstreetmap/josm/data/preferences/AbstractToStringProperty.java

    r14114 r16553  
    7777     * @see AbstractProperty#AbstractProperty(String, Object)
    7878     */
    79     public AbstractToStringProperty(String key, T defaultValue) {
     79    protected AbstractToStringProperty(String key, T defaultValue) {
    8080        super(key, defaultValue);
    8181        storeDefaultValue();
  • trunk/src/org/openstreetmap/josm/data/preferences/ParametrizedEnumProperty.java

    r12846 r16553  
    1515    protected final Class<T> enumClass;
    1616
    17     public ParametrizedEnumProperty(Class<T> enumClass, T defaultValue) {
     17    protected ParametrizedEnumProperty(Class<T> enumClass, T defaultValue) {
    1818        this.defaultValue = defaultValue;
    1919        this.enumClass = enumClass;
  • trunk/src/org/openstreetmap/josm/data/preferences/sources/ExtendedSourceEntry.java

    r15211 r16553  
    4242
    4343    /**
     44     * Returns string representation for GUI list or menu entry.
    4445     * @return string representation for GUI list or menu entry
    4546     */
  • trunk/src/org/openstreetmap/josm/data/preferences/sources/SourcePrefHelper.java

    r15754 r16553  
    3030     * @since 12825
    3131     */
    32     public SourcePrefHelper(String pref, SourceType type) {
     32    protected SourcePrefHelper(String pref, SourceType type) {
    3333        this.pref = pref;
    3434        this.type = type;
  • trunk/src/org/openstreetmap/josm/data/projection/AbstractProjection.java

    r13640 r16553  
    181181
    182182    /**
     183     * Returns The EPSG Code of this CRS.
    183184     * @return The EPSG Code of this CRS, null if it doesn't have one.
    184185     */
  • trunk/src/org/openstreetmap/josm/data/projection/datum/AbstractDatum.java

    r13627 r16553  
    2222     * @param ellps The ellipsoid
    2323     */
    24     public AbstractDatum(String name, String proj4Id, Ellipsoid ellps) {
     24    protected AbstractDatum(String name, String proj4Id, Ellipsoid ellps) {
    2525        this.name = name;
    2626        this.proj4Id = proj4Id;
  • trunk/src/org/openstreetmap/josm/data/projection/datum/Datum.java

    r13627 r16553  
    1414
    1515    /**
     16     * Returns a human readable name of this projection.
    1617     * @return a human readable name of this projection
    1718     */
     
    2627
    2728    /**
     29     * Returns the ellipsoid associated with this datum.
    2830     * @return the ellipsoid associated with this datum
    2931     */
  • trunk/src/org/openstreetmap/josm/data/validation/Test.java

    r16332 r16553  
    107107         * @param description The test description
    108108         */
    109         public TagTest(String name, String description) {
     109        protected TagTest(String name, String description) {
    110110            super(name, description);
    111111        }
     
    115115         * @param name The test name
    116116         */
    117         public TagTest(String name) {
     117        protected TagTest(String name) {
    118118            super(name);
    119119        }
     
    377377
    378378    /**
     379     * Returns the name of this class.
    379380     * @return the name of this class (for ToolTip)
    380      * since 15972
     381     * @since 15972
    381382     */
    382383    public Object getSource() {
  • trunk/src/org/openstreetmap/josm/data/validation/TestError.java

    r16445 r16553  
    531531
    532532    /**
     533     * Returns a new {@link MultipleNameVisitor} for the list of primitives affected by this error.
    533534     * @return Name visitor (used in cell renderer and for sorting)
    534535     */
  • trunk/src/org/openstreetmap/josm/data/validation/tests/CrossingWays.java

    r16445 r16553  
    304304     * @since 12958
    305305     */
    306     public CrossingWays(String title, int code) {
     306    protected CrossingWays(String title, int code) {
    307307        super(title, tr("This test checks if two roads, railways, waterways or buildings crosses in the same layer, " +
    308308                "but are not connected by a node."));
  • trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java

    r16404 r16553  
    211211     * @since 6691
    212212     */
    213     public UnconnectedWays(String title) {
     213    protected UnconnectedWays(String title) {
    214214        this(title, UNCONNECTED_WAYS, false);
    215 
    216215    }
    217216
     
    223222     * @since 14468
    224223     */
    225     public UnconnectedWays(String title, int code, boolean isHighwayTest) {
     224    protected UnconnectedWays(String title, int code, boolean isHighwayTest) {
    226225        super(title, tr("This test checks if a way has an endpoint very near to another way."));
    227226        this.code = code;
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r16529 r16553  
    471471
    472472    /**
     473     * Returns the default position of new top-level menus.
    473474     * @return the default position of new top-level menus
    474475     * @since 6088
  • trunk/src/org/openstreetmap/josm/gui/MapViewState.java

    r15041 r16553  
    334334
    335335    /**
     336     * Creates a new state that is moved to an east/north coordinate.
    336337     * @param mapViewPoint The reference point.
    337338     * @param newEastNorthThere The east/north coordinate that should be there.
  • trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java

    r16444 r16553  
    431431
    432432    /**
     433     * Returns geographic coordinates from a specific pixel coordination on the screen.
    433434     * @param x X-Pixelposition to get coordinate from
    434435     * @param y Y-Pixelposition to get coordinate from
     
    492493
    493494    /**
     495     * Returns minimum bounds that will cover a given rectangle.
    494496     * @param r rectangle
    495497     * @return Minimum bounds that will cover rectangle
     
    12361238    /**
    12371239     * The result *order* depends on the current map selection state.
    1238      * Segments within 10px of p are searched and sorted by their distance to @param p,
     1240     * Segments within 10px of p are searched and sorted by their distance to {@code p},
    12391241     * then, within groups of equally distant segments, prefer those that are selected.
    12401242     *
     
    16371639
    16381640    /**
     1641     * Returns the projection to be used in calculating stuff.
    16391642     * @return The projection to be used in calculating stuff.
    16401643     */
  • trunk/src/org/openstreetmap/josm/gui/PleaseWaitRunnable.java

    r16124 r16553  
    3535     * @param title message for the user
    3636     */
    37     public PleaseWaitRunnable(String title) {
     37    protected PleaseWaitRunnable(String title) {
    3838        this(title, false);
    3939    }
     
    4747     * then use false unless you read result of task (because exception will get lost if you don't)
    4848     */
    49     public PleaseWaitRunnable(String title, boolean ignoreException) {
     49    protected PleaseWaitRunnable(String title, boolean ignoreException) {
    5050        this(title, new PleaseWaitProgressMonitor(title), ignoreException);
    5151    }
     
    6161     * @throws IllegalArgumentException if parent is null
    6262     */
    63     public PleaseWaitRunnable(Component parent, String title, boolean ignoreException) {
     63    protected PleaseWaitRunnable(Component parent, String title, boolean ignoreException) {
    6464        CheckParameterUtil.ensureParameterNotNull(parent, "parent");
    6565        this.title = title;
     
    7777     * then use false unless you read result of task (because exception will get lost if you don't)
    7878     */
    79     public PleaseWaitRunnable(String title, ProgressMonitor progressMonitor, boolean ignoreException) {
     79    protected PleaseWaitRunnable(String title, ProgressMonitor progressMonitor, boolean ignoreException) {
    8080        this.title = title;
    8181        this.progressMonitor = progressMonitor == null ? new PleaseWaitProgressMonitor(title) : progressMonitor;
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractListMergeModel.java

    r16436 r16553  
    199199     * Constructs a new {@code ListMergeModel}.
    200200     */
    201     public AbstractListMergeModel() {
     201    protected AbstractListMergeModel() {
    202202        entries = new EnumMap<>(ListRole.class);
    203203        for (ListRole role : ListRole.values()) {
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractListMerger.java

    r16267 r16553  
    408408     * @param model list merger model
    409409     */
    410     public AbstractListMerger(AbstractListMergeModel<T, C> model) {
     410    protected AbstractListMerger(AbstractListMergeModel<T, C> model) {
    411411        this.model = model;
    412412        model.addChangeListener(this);
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractMergePanel.java

    r12050 r16553  
    185185     * Create a new merge panel.
    186186     */
    187     public AbstractMergePanel() {
     187    protected AbstractMergePanel() {
    188188        super(new GridBagLayout());
    189189    }
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/PairTable.java

    r12661 r16553  
    2828     * @param sm selection model
    2929     */
    30     public PairTable(String name, AbstractListMergeModel<? extends PrimitiveId, ? extends ConflictResolveCommand> model,
     30    protected PairTable(String name, AbstractListMergeModel<? extends PrimitiveId, ? extends ConflictResolveCommand> model,
    3131            OsmPrimitivesTableModel dm, TableColumnModel cm, ListSelectionModel sm) {
    3232        super(dm, cm, sm);
  • trunk/src/org/openstreetmap/josm/gui/correction/CorrectionTableModel.java

    r10153 r16553  
    2525     * @param corrections list of corrections
    2626     */
    27     public CorrectionTableModel(List<C> corrections) {
     27    protected CorrectionTableModel(List<C> corrections) {
    2828        this.corrections = corrections;
    2929        apply = new boolean[this.corrections.size()];
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java

    r16113 r16553  
    10331033
    10341034    /**
     1035     * Returns the last used height stored in preferences or preferredHeight.
    10351036     * @return the last used height stored in preferences or preferredHeight
    10361037     * @since 14425
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/AbstractCopyAction.java

    r15813 r16553  
    3333     * @param objectSupplier a supplier which returns the selected tagged object(s)
    3434     */
    35     public AbstractCopyAction(JTable tagTable, IntFunction<String> keySupplier, Supplier<Collection<? extends Tagged>> objectSupplier) {
     35    protected AbstractCopyAction(JTable tagTable, IntFunction<String> keySupplier, Supplier<Collection<? extends Tagged>> objectSupplier) {
    3636        this.tagTable = Objects.requireNonNull(tagTable);
    3737        this.keySupplier = Objects.requireNonNull(keySupplier);
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java

    r15644 r16553  
    3535     * Constructs a new {@code HelpAction}.
    3636     */
    37     public HelpAction() {
     37    protected HelpAction() {
    3838        putValue(SHORT_DESCRIPTION, tr("Launch browser with wiki help for selected object"));
    3939        new ImageProvider("dialogs", "search").getResource().attachImageIcon(this, true);
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableCellRenderer.java

    r10153 r16553  
    1515 * This is the {@link TableCellRenderer} used in the tables of
    1616 * {@link org.openstreetmap.josm.gui.conflict.pair.relation.RelationMemberMerger}.
    17  *
     17 * @since 1790
    1818 */
    1919public abstract class MemberTableCellRenderer extends JLabel implements TableCellRenderer {
     
    2525     * constructor
    2626     */
    27     public MemberTableCellRenderer() {
     27    protected MemberTableCellRenderer() {
    2828        setIcon(null);
    2929        setOpaque(true);
  • 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         */
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java

    r16464 r16553  
    6969    private static final List<HistoryHook> hooks = new ArrayList<>();
    7070
    71     protected HistoryBrowserDialogManager() {
     71    private HistoryBrowserDialogManager() {
    7272        MainApplication.getLayerManager().addLayerChangeListener(this);
    7373    }
  • trunk/src/org/openstreetmap/josm/gui/io/AbstractIOTask.java

    r14302 r16553  
    1818     * Constructs a new {@code AbstractIOTask}.
    1919     */
    20     public AbstractIOTask() {
     20    protected AbstractIOTask() {
    2121        canceled = false;
    2222        failed = false;
  • trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadDialog.java

    r9685 r16553  
    4747     * @see JComponent#getDefaultLocale
    4848     */
    49     public AbstractUploadDialog(Window owner, ModalityType modalityType) {
     49    protected AbstractUploadDialog(Window owner, ModalityType modalityType) {
    5050        super(owner, modalityType);
    5151    }
     
    8989     * @see JComponent#getDefaultLocale
    9090     */
    91     public AbstractUploadDialog(Window owner, String title, ModalityType modalityType, GraphicsConfiguration gc) {
     91    protected AbstractUploadDialog(Window owner, String title, ModalityType modalityType, GraphicsConfiguration gc) {
    9292        super(owner, title, modalityType, gc);
    9393    }
     
    125125     * @see JComponent#getDefaultLocale
    126126     */
    127     public AbstractUploadDialog(Window owner, String title, ModalityType modalityType) {
     127    protected AbstractUploadDialog(Window owner, String title, ModalityType modalityType) {
    128128        super(owner, title, modalityType);
    129129    }
     
    152152     * @see JComponent#getDefaultLocale
    153153     */
    154     public AbstractUploadDialog(Window owner, String title) {
     154    protected AbstractUploadDialog(Window owner, String title) {
    155155        super(owner, title);
    156156    }
     
    177177     * @see JComponent#getDefaultLocale
    178178     */
    179     public AbstractUploadDialog(Window owner) {
     179    protected AbstractUploadDialog(Window owner) {
    180180        super(owner);
    181181    }
  • trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadTask.java

    r16407 r16553  
    5353     * then use false unless you read result of task (because exception will get lost if you don't)
    5454     */
    55     public AbstractUploadTask(String title, boolean ignoreException) {
     55    protected AbstractUploadTask(String title, boolean ignoreException) {
    5656        super(title, ignoreException);
    5757    }
     
    6565     * then use false unless you read result of task (because exception will get lost if you don't)
    6666     */
    67     public AbstractUploadTask(String title, ProgressMonitor progressMonitor, boolean ignoreException) {
     67    protected AbstractUploadTask(String title, ProgressMonitor progressMonitor, boolean ignoreException) {
    6868        super(title, progressMonitor, ignoreException);
    6969    }
     
    7373     * @param title message for the user
    7474     */
    75     public AbstractUploadTask(String title) {
     75    protected AbstractUploadTask(String title) {
    7676        super(title);
    7777    }
  • trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java

    r16204 r16553  
    6666     *     i.e., parent relations, and for nodes, additionally, parent ways
    6767     * @param full if the members of a relation should be downloaded as well
    68      * @param newLayerName the name to use for the new layer, can be {@code null}.
     68     * @param newLayerName the name to use for the new layer, can be null.
    6969     * @param monitor ProgressMonitor to use, or null to create a new one
    7070     */
  • trunk/src/org/openstreetmap/josm/gui/io/importexport/FileExporter.java

    r15662 r16553  
    2727     * @param filter The extension file filter
    2828     */
    29     public FileExporter(ExtensionFileFilter filter) {
     29    protected FileExporter(ExtensionFileFilter filter) {
    3030        this.filter = filter;
    3131        this.enabled = true;
  • trunk/src/org/openstreetmap/josm/gui/io/importexport/FileImporter.java

    r16084 r16553  
    4141     * @param filter The extension file filter
    4242     */
    43     public FileImporter(ExtensionFileFilter filter) {
     43    protected FileImporter(ExtensionFileFilter filter) {
    4444        this.filter = filter;
    4545        this.enabled = true;
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractCachedTileSourceLayer.java

    r16398 r16553  
    4545     * @param info ImageryInfo describing the layer
    4646     */
    47     public AbstractCachedTileSourceLayer(ImageryInfo info) {
     47    protected AbstractCachedTileSourceLayer(ImageryInfo info) {
    4848        super(info);
    4949
     
    112112
    113113    /**
     114     * Returns cache configured object for specified cache region.
    114115     * @param name of cache region
    115116     * @return cache configured object for specified cache region
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractModifiableLayer.java

    r16548 r16553  
    2121     * @param name Layer name
    2222     */
    23     public AbstractModifiableLayer(String name) {
     23    protected AbstractModifiableLayer(String name) {
    2424        super(name);
    2525    }
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r16436 r16553  
    215215     * @param info imagery info
    216216     */
    217     public AbstractTileSourceLayer(ImageryInfo info) {
     217    protected AbstractTileSourceLayer(ImageryInfo info) {
    218218        super(info);
    219219        setBackgroundLayer(true);
     
    709709
    710710    /**
     711     * Returns maximum max zoom level, that will be shown on layer.
    711712     * @param ts TileSource for which we want to know maximum zoom level
    712713     * @return maximum max zoom level, that will be shown on layer
     
    717718
    718719    /**
     720     * Returns minimum zoom level, that will be shown on layer.
    719721     * @param ts TileSource for which we want to know minimum zoom level
    720722     * @return minimum zoom level, that will be shown on layer
     
    774776
    775777    /**
    776      *
    777      * @return if its allowed to zoom in
     778     * Determines if it is allowed to zoom in.
     779     * @return if it is allowed to zoom in
    778780     */
    779781    public boolean zoomIncreaseAllowed() {
     
    18221824
    18231825        /**
     1826         * Determines if the task is finished.
    18241827         * @return true, if all is done
    18251828         */
     
    18291832
    18301833        /**
     1834         * Returns total number of tiles to download.
    18311835         * @return total number of tiles to download
    18321836         */
     
    18601864
    18611865        /**
     1866         * Returns tile loader that is used to load the tiles.
    18621867         * @return tile loader that is used to load the tiles
    18631868         */
  • trunk/src/org/openstreetmap/josm/gui/layer/AlignImageryPanel.java

    r15800 r16553  
    8484
    8585    /**
     86     * Adds a nag panel for a given imagery info.
    8687     * @param infoToAdd ImageryInfo for which the nag panel should be created
    8788     */
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r16548 r16553  
    373373
    374374    /**
     375     * Returns the linked MarkerLayer.
    375376     * @return the linked MarkerLayer (imported from the same file)
    376377     * @since 15496
     
    381382
    382383    /**
     384     * Sets the linked MarkerLayer.
    383385     * @param linkedMarkerLayer the linked MarkerLayer
    384386     * @since 15496
  • trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java

    r15371 r16553  
    6969     * @param info imagery info
    7070     */
    71     public ImageryLayer(ImageryInfo info) {
     71    protected ImageryLayer(ImageryInfo info) {
    7272        super(info.getName());
    7373        this.info = info;
  • trunk/src/org/openstreetmap/josm/gui/layer/Layer.java

    r15662 r16553  
    168168     * @param name Layer name
    169169     */
    170     public Layer(String name) {
     170    protected Layer(String name) {
    171171        this.propertyChangeSupport = new PropertyChangeSupport(this);
    172172        setName(name);
     
    195195
    196196    /**
     197     * Determines whether the layer has / can handle colors.
    197198     * @return whether the layer has / can handle colors.
    198199     * @since 15496
     
    220221
    221222    /**
     223     * Returns a small tooltip hint about some statistics for this layer.
    222224     * @return A small tooltip hint about some statistics for this layer.
    223225     */
     
    234236
    235237    /**
     238     * Determines if the other layer can be merged into this layer.
    236239     * @param other The other layer that is tested to be mergable with this.
    237240     * @return Whether the other layer can be merged into this layer.
  • trunk/src/org/openstreetmap/josm/gui/layer/MapViewPaintable.java

    r12107 r16553  
    123123
    124124        /**
    125          * @return true if this {@link MapViewPaintable} is used as a temporary layer.
     125         * Determines if this {@link MapViewPaintable} is used as a temporary layer
     126         * @return true if this {@code MapViewPaintable} is used as a temporary layer.
    126127         */
    127128        public boolean isTemporaryLayer() {
  • trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java

    r16548 r16553  
    846846
    847847    /**
     848     * Converts a node to a waypoint.
    848849     * @param n the {@code Node} to convert
    849850     * @return {@code WayPoint} object
     
    855856
    856857    /**
     858     * Converts a node to a waypoint.
    857859     * @param n the {@code Node} to convert
    858860     * @param time a timestamp value in milliseconds from the epoch.
  • trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java

    r16438 r16553  
    140140
    141141    /**
     142     * Returns cache for TMS region.
    142143     * @return cache for TMS region
    143144     */
  • trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java

    r16398 r16553  
    196196
    197197    /**
     198     * Returns cache region for WMS layer.
    198199     * @return cache region for WMS layer
    199200     */
  • trunk/src/org/openstreetmap/josm/gui/layer/WMTSLayer.java

    r16398 r16553  
    115115
    116116    /**
     117     * Returns cache region for WMTS layer.
    117118     * @return cache region for WMTS layer
    118119     */
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/DateFilterPanel.java

    r12853 r16553  
    3737
    3838    /**
    39      * Create the panel to filter tracks on GPX layer @param layer by date
    40      * Preferences will be stored in @param preferencePrefix
    41      * If @param enabled = true, then the panel is created as active and filtering occurs immediately.
     39     * Create the panel to filter tracks on GPX layer {@code layer} by date
     40     * Preferences will be stored in {@code preferencePrefix}
     41     * If {@code enabled = true}, then the panel is created as active and filtering occurs immediately.
    4242     * @param layer GPX layer
    4343     * @param preferencePrefix preference prefix
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/TilePosition.java

    r13758 r16553  
    3434
    3535    /**
     36     * Returns the x position.
    3637     * @return the x position
    3738     */
     
    4142
    4243    /**
     44     * Returns the y position.
    4345     * @return the y position
    4446     */
     
    4850
    4951    /**
     52     * Returns the zoom.
    5053     * @return the zoom
    5154     */
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/WMTSLayerSelection.java

    r13824 r16553  
    133133
    134134    /**
     135     * Returns selected layer.
    135136     * @return selected layer
    136137     */
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java

    r16069 r16553  
    147147
    148148    /**
    149      * Image provider for icon. Note that this is a provider only. A @link{ImageProvider#get()} call may still fail!
     149     * Image provider for icon. Note that this is a provider only. A {@link ImageProvider#get()} call may still fail!
    150150     *
    151151     * @param ref reference to the requested icon
  • trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSource.java

    r15289 r16553  
    7878     * @param title The title that can be used as menu entry
    7979     */
    80     public StyleSource(String url, String name, String title) {
     80    protected StyleSource(String url, String name, String title) {
    8181        super(SourceType.MAP_PAINT_STYLE, url, name, title, true);
    8282    }
     
    8686     * @param entry The entry to copy the data (url, name, ...) from.
    8787     */
    88     public StyleSource(SourceEntry entry) {
     88    protected StyleSource(SourceEntry entry) {
    8989        super(entry);
    9090    }
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java

    r16438 r16553  
    659659     * @param a first value
    660660     * @param b second value
    661      * @return {@code true} if {@code a &gt;= b}
     661     * @return {@code true} if {@code a >= b}
    662662     */
    663663    public static boolean greater_equal(float a, float b) { // NO_UCD (unused code)
     
    669669     * @param a first value
    670670     * @param b second value
    671      * @return {@code true} if {@code a &lt;= b}
     671     * @return {@code true} if {@code a <= b}
    672672     */
    673673    public static boolean less_equal(float a, float b) { // NO_UCD (unused code)
     
    679679     * @param a first value
    680680     * @param b second value
    681      * @return {@code true} if {@code a &gt; b}
     681     * @return {@code true} if {@code a > b}
    682682     */
    683683    public static boolean greater(float a, float b) { // NO_UCD (unused code)
     
    689689     * @param a first value
    690690     * @param b second value
    691      * @return {@code true} if {@code a &lt; b}
     691     * @return {@code true} if {@code a < b}
    692692     */
    693693    public static boolean less(float a, float b) { // NO_UCD (unused code)
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/StyleElement.java

    r14095 r16553  
    6565     * is enabled, false if a style for selected state is given explicitly
    6666     */
    67     public StyleElement(float majorZIndex, float zIndex, float objectZIndex, boolean isModifier, boolean defaultSelectedHandling) {
     67    protected StyleElement(float majorZIndex, float zIndex, float objectZIndex, boolean isModifier, boolean defaultSelectedHandling) {
    6868        this.majorZIndex = majorZIndex;
    6969        this.zIndex = zIndex;
  • trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java

    r13173 r16553  
    2828     * @since 10189
    2929     */
    30     public AbstractAuthorizationUI() {
     30    protected AbstractAuthorizationUI() {
    3131    }
    3232
     
    3636     * @since 5422
    3737     */
    38     public AbstractAuthorizationUI(String apiUrl) {
     38    protected AbstractAuthorizationUI(String apiUrl) {
    3939        setApiUrl(apiUrl);
    4040    }
  • trunk/src/org/openstreetmap/josm/gui/preferences/DefaultPreferenceSetting.java

    r13050 r16553  
    2424     * (Not an expert option by default.)
    2525     */
    26     public DefaultPreferenceSetting() {
     26    protected DefaultPreferenceSetting() {
    2727        this(false);
    2828    }
     
    3333     * @param isExpert true, if it is an expert option
    3434     */
    35     public DefaultPreferenceSetting(boolean isExpert) {
     35    protected DefaultPreferenceSetting(boolean isExpert) {
    3636        this.isExpert = isExpert;
    3737    }
  • trunk/src/org/openstreetmap/josm/gui/preferences/DefaultTabPreferenceSetting.java

    r15845 r16553  
    3030     * Constructs a new {@code DefaultTabPreferenceSetting}.
    3131     */
    32     public DefaultTabPreferenceSetting() {
     32    protected DefaultTabPreferenceSetting() {
    3333        this(null, null, null);
    3434    }
    3535
    36     public DefaultTabPreferenceSetting(String iconName, String title, String description) {
     36    protected DefaultTabPreferenceSetting(String iconName, String title, String description) {
    3737        this(iconName, title, description, false);
    3838    }
    3939
    40     public DefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert) {
     40    protected DefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert) {
    4141        this(iconName, title, description, isExpert, null);
    4242    }
    4343
    44     public DefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert, JTabbedPane tabpane) {
     44    protected DefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert, JTabbedPane tabpane) {
    4545        super(isExpert);
    4646        this.iconName = iconName;
  • trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java

    r15926 r16553  
    194194    public interface ValidationListener {
    195195        /**
    196          *
     196         * Determines if preferences can be saved.
    197197         * @return True if preferences can be saved
    198198         */
  • trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java

    r16468 r16553  
    146146     * @param handleIcons {@code true} if icons may be managed, {@code false} otherwise
    147147     */
    148     public SourceEditor(SourceType sourceType, String availableSourcesUrl, List<SourceProvider> sourceProviders, boolean handleIcons) {
     148    protected SourceEditor(SourceType sourceType, String availableSourcesUrl, List<SourceProvider> sourceProviders, boolean handleIcons) {
    149149
    150150        this.sourceType = sourceType;
  • trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AbstractListEditor.java

    r12678 r16553  
    2828     * @param entry        Preference entry
    2929     */
    30     public AbstractListEditor(Component parent, String title, PrefEntry entry) {
     30    protected AbstractListEditor(Component parent, String title, PrefEntry entry) {
    3131        super(parent, title, tr("OK"), tr("Cancel"));
    3232        this.entry = entry;
  • trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AbstractTableListEditor.java

    r13130 r16553  
    4848     * @param entry        Preference entry
    4949     */
    50     public AbstractTableListEditor(Component parent, String title, PrefEntry entry) {
     50    protected AbstractTableListEditor(Component parent, String title, PrefEntry entry) {
    5151        super(parent, title, entry);
    5252        entryModel = newEntryListModel();
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/HeadersTable.java

    r15586 r16553  
    111111
    112112    /**
     113     * Returns headers provided by user.
    113114     * @return headers provided by user
    114115     */
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java

    r14005 r16553  
    2424     * @param id unique identifier for the projection choice
    2525     */
    26     public AbstractProjectionChoice(String name, String id) {
     26    protected AbstractProjectionChoice(String name, String id) {
    2727        this.name = name;
    2828        this.id = id;
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/ListProjectionChoice.java

    r9990 r16553  
    3333     * @param defaultIndex the default index for the combo-box
    3434     */
    35     public ListProjectionChoice(String name, String id, String[] entries, String label, int defaultIndex) {
     35    protected ListProjectionChoice(String name, String id, String[] entries, String label, int defaultIndex) {
    3636        super(name, id);
    3737        this.entries = Utils.copyArray(entries);
     
    4747     * @param label a label shown left to the combo-box
    4848     */
    49     public ListProjectionChoice(String name, String id, String[] entries, String label) {
     49    protected ListProjectionChoice(String name, String id, String[] entries, String label) {
    5050        this(name, id, entries, label, 0);
    5151    }
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/SubPrefsOptions.java

    r7937 r16553  
    33
    44/**
    5  * ProjectionChoice can implement this interface to set some additional options
     5 * ProjectionChoice can implement this interface to set some additional options.
     6 * @since 5226
    67 */
    78public interface SubPrefsOptions {
    89
    910    /**
     11     * Determines if the projection code should be displayed in the top panel.
    1012     * @return true, if the projection code should be displayed in the top panel
    1113     */
     
    1315
    1416    /**
     17     * Determines if the projection name should be displayed in the top panel.
    1518     * @return true, if the projection name should be displayed in the top panel
    1619     */
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionList.java

    r13173 r16553  
    7272
    7373    /**
     74     * Returns the current filter expression.
    7475     * @return the current filter expression; null, if no filter expression is set
    7576     */
  • trunk/src/org/openstreetmap/josm/gui/widgets/AbstractIdTextField.java

    r12620 r16553  
    2121     * @param klass The validator class
    2222     */
    23     public AbstractIdTextField(Class<T> klass) {
     23    protected AbstractIdTextField(Class<T> klass) {
    2424        this(klass, 0);
    2525    }
     
    3131     * @see JosmTextField#JosmTextField(int)
    3232     */
    33     public AbstractIdTextField(Class<T> klass, int columns) {
     33    protected AbstractIdTextField(Class<T> klass, int columns) {
    3434        super(columns);
    3535        T validator = null;
  • trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java

    r11386 r16553  
    8585     * @throws IllegalArgumentException if tc is null
    8686     */
    87     public AbstractTextComponentValidator(JTextComponent tc) {
     87    protected AbstractTextComponentValidator(JTextComponent tc) {
    8888        this(tc, true);
    8989    }
     
    9595     * @param addActionListener {@code true} to add the action listener
    9696     */
    97     public AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) {
     97    protected AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) {
    9898        this(tc, true, true, addActionListener);
    9999    }
     
    106106     * @param addActionListener {@code true} to add the action listener
    107107     */
    108     public AbstractTextComponentValidator(JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) {
     108    protected AbstractTextComponentValidator(
     109            JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) {
    109110        CheckParameterUtil.ensureParameterNotNull(tc, "tc");
    110111        this.tc = tc;
  • trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitLayout.java

    r16453 r16553  
    190190
    191191    /**
     192     * Returns the value of the floatingDividers property.
    192193     * @return the value of the floatingDividers property
    193194     * @see #setFloatingDividers
     
    715716
    716717        /**
     718         * Returns the invalid Node.
    717719         * @return the invalid Node.
    718720         */
  • trunk/src/org/openstreetmap/josm/gui/widgets/OsmPrimitivesTable.java

    r12636 r16553  
    3636     * @param sm selection model
    3737     */
    38     public OsmPrimitivesTable(OsmPrimitivesTableModel dm, TableColumnModel cm, ListSelectionModel sm) {
     38    protected OsmPrimitivesTable(OsmPrimitivesTableModel dm, TableColumnModel cm, ListSelectionModel sm) {
    3939        super(dm, cm, sm);
    4040        addMouseListener(new PopupMenuLauncher(getPopUpMenu()));
  • trunk/src/org/openstreetmap/josm/gui/widgets/PopupMenuLauncher.java

    r15662 r16553  
    149149
    150150    /**
     151     * Returns the popup menu.
    151152     * @return the popup menu if defined, {@code null} otherwise.
    152153     * @since 5884
  • trunk/src/org/openstreetmap/josm/gui/widgets/SearchTextResultListPanel.java

    r14976 r16553  
    4040     * Constructs a new {@code SearchTextResultListPanel}.
    4141     */
    42     public SearchTextResultListPanel() {
     42    protected SearchTextResultListPanel() {
    4343        super(new BorderLayout());
    4444
  • trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java

    r15588 r16553  
    256256
    257257    /**
     258     * Determines if download is complete for the given bounding box.
    258259     * @return true if download is complete for the given bounding box (not filtered)
    259260     */
  • trunk/src/org/openstreetmap/josm/io/CacheCustomContent.java

    r16426 r16553  
    7373     * @param updateInterval update interval in seconds. -1 means always
    7474     */
    75     public CacheCustomContent(String ident, int updateInterval) {
     75    protected CacheCustomContent(String ident, int updateInterval) {
    7676        this.ident = ident;
    7777        this.updateInterval = updateInterval;
  • trunk/src/org/openstreetmap/josm/io/OsmServerLocationReader.java

    r15784 r16553  
    4747        protected InputStream in;
    4848
    49         public Parser(ProgressMonitor progressMonitor, Compression compression) {
     49        protected Parser(ProgressMonitor progressMonitor, Compression compression) {
    5050            this.progressMonitor = progressMonitor;
    5151            this.compression = compression;
  • trunk/src/org/openstreetmap/josm/io/OsmServerReader.java

    r16427 r16553  
    4747     * Constructs a new {@code OsmServerReader}.
    4848     */
    49     public OsmServerReader() {
     49    protected OsmServerReader() {
    5050        try {
    5151            doAuthenticate = OsmApi.isUsingOAuth()
  • trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java

    r16412 r16553  
    245245
    246246    /**
     247     * Returns root URL of services in this GetCapabilities.
    247248     * @return root URL of services in this GetCapabilities
    248249     */
     
    272273
    273274    /**
     275     * Returns root URL of services without the GetCapabilities call.
    274276     * @return root URL of services without the GetCapabilities call
    275277     * @since 15209
     
    304306
    305307    /**
     308     * Returns URL for accessing GetMap service. String will contain following parameters:
     309     * * {proj} - that needs to be replaced with projection (one of {@link #getServerProjections(List)})
     310     * * {width} - that needs to be replaced with width of the tile
     311     * * {height} - that needs to be replaces with height of the tile
     312     * * {bbox} - that needs to be replaced with area that should be fetched (in {proj} coordinates)
     313     *
     314     * Format of the response will be calculated using {@link #getPreferredFormat()}
     315     *
    306316     * @param selectedLayers selected layers as subset of the tree returned by {@link #getLayers()}
    307317     * @param selectedStyles selected styles for all selectedLayers
     
    315325
    316326    /**
     327     * Returns URL for accessing GetMap service. String will contain following parameters:
     328     * * {proj} - that needs to be replaced with projection (one of {@link #getServerProjections(List)})
     329     * * {width} - that needs to be replaced with width of the tile
     330     * * {height} - that needs to be replaces with height of the tile
     331     * * {bbox} - that needs to be replaced with area that should be fetched (in {proj} coordinates)
     332     *
    317333     * @param selectedLayers selected layers as subset of the tree returned by {@link #getLayers()}
    318334     * @param selectedStyles selected styles for all selectedLayers
     
    332348
    333349    /**
     350     * Returns URL for accessing GetMap service. String will contain following parameters:
     351     * * {proj} - that needs to be replaced with projection (one of {@link #getServerProjections(List)})
     352     * * {width} - that needs to be replaced with width of the tile
     353     * * {height} - that needs to be replaces with height of the tile
     354     * * {bbox} - that needs to be replaced with area that should be fetched (in {proj} coordinates)
     355     *
    334356     * @param selectedLayers selected layers as list of strings
    335357     * @param selectedStyles selected styles of layers as list of strings
     
    524546
    525547    /**
     548     * Determines if this service operates at protocol level below WMS 1.3.0
    526549     * @return if this service operates at protocol level below 1.3.0
    527550     */
     
    709732
    710733    /**
     734     * Returns collection of LayerDetails specified by defaultLayers.
    711735     * @param defaultLayers default layers that should select layer object
    712      * @return collection of LayerDetails specified by DefaultLayers
     736     * @return collection of LayerDetails specified by defaultLayers
    713737     */
    714738    public List<LayerDetails> getLayers(List<DefaultLayer> defaultLayers) {
     
    721745
    722746    /**
     747     * Returns title of this service.
    723748     * @return title of this service
    724749     */
  • trunk/src/org/openstreetmap/josm/io/session/SessionReader.java

    r16436 r16553  
    200200
    201201    /**
     202     * Returns list of layers that are later added to the mapview.
    202203     * @return list of layers that are later added to the mapview
    203204     */
     
    207208
    208209    /**
     210     * Returns active layer.
    209211     * @return active layer, or {@code null} if not set
    210212     * @since 6271
     
    216218
    217219    /**
     220     * Returns actions executed in EDT after layers have been added.
    218221     * @return actions executed in EDT after layers have been added (message dialog, etc.)
    219222     */
     
    223226
    224227    /**
    225      * Return the viewport (map position and scale).
     228     * Returns the viewport (map position and scale).
    226229     * @return the viewport; can be null when no viewport info is found in the file
    227230     */
     
    231234
    232235    /**
    233      * Return the projection choice data.
     236     * Returns the projection choice data.
    234237     * @return the projection; can be null when no projection info is found in the file
    235238     */
  • trunk/src/org/openstreetmap/josm/plugins/Plugin.java

    r14149 r16553  
    102102     * @param info the plugin information describing the plugin.
    103103     */
    104     public Plugin(PluginInformation info) {
     104    protected Plugin(PluginInformation info) {
    105105        this.info = info;
    106106    }
  • trunk/src/org/openstreetmap/josm/spi/preferences/AbstractSetting.java

    r12882 r16553  
    1414    protected Long time;
    1515    protected boolean isNew;
     16
    1617    /**
    1718     * Constructs a new {@code AbstractSetting} with the given value
    1819     * @param value The setting value
    1920     */
    20     public AbstractSetting(T value) {
     21    protected AbstractSetting(T value) {
    2122        this.value = value;
    2223        this.time = null;
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r16551 r16553  
    513513
    514514        /**
     515         * Indicates that other requests to the server are unlikely in the near future.
    515516         * @see HttpURLConnection#disconnect()
    516517         */
  • trunk/src/org/openstreetmap/josm/tools/WindowsShortcut.java

    r14199 r16553  
    6868
    6969    /**
     70     * Returns the name of the filesystem object pointed to by this shortcut.
    7071     * @return the name of the filesystem object pointed to by this shortcut
    7172     */
Note: See TracChangeset for help on using the changeset viewer.