- Timestamp:
- 2020-06-07T14:49:02+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 134 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AbstractInfoAction.java
r15706 r16553 30 30 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 31 31 */ 32 p ublicAbstractInfoAction(boolean installAdapters) {32 protected AbstractInfoAction(boolean installAdapters) { 33 33 super(installAdapters); 34 34 } … … 48 48 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 49 49 */ 50 p ublicAbstractInfoAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register,50 protected AbstractInfoAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register, 51 51 String toolbarId, boolean installAdapters) { 52 52 super(name, iconName, tooltip, shortcut, register, toolbarId, installAdapters); -
trunk/src/org/openstreetmap/josm/actions/AbstractMergeAction.java
r15851 r16553 97 97 * @param register register this action for the toolbar preferences? 98 98 */ 99 p ublicAbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register) {99 protected AbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register) { 100 100 super(name, iconName, tooltip, shortcut, register); 101 101 } … … 115 115 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 116 116 */ 117 p ublicAbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut,117 protected AbstractMergeAction(String name, String iconName, String tooltip, Shortcut shortcut, 118 118 boolean register, String toolbar, boolean installAdapters) { 119 119 super(name, iconName, tooltip, shortcut, register, toolbar, installAdapters); -
trunk/src/org/openstreetmap/josm/actions/AbstractPasteAction.java
r13649 r16553 39 39 * @param registerInToolbar register this action for the toolbar preferences? 40 40 */ 41 p ublicAbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut,41 protected AbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut, 42 42 boolean registerInToolbar) { 43 43 this(name, iconName, tooltip, shortcut, registerInToolbar, null); … … 57 57 * @param toolbarId identifier for the toolbar preferences. The iconName is used, if this parameter is null 58 58 */ 59 p ublicAbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut,59 protected AbstractPasteAction(String name, String iconName, String tooltip, Shortcut shortcut, 60 60 boolean registerInToolbar, String toolbarId) { 61 61 super(name, iconName, tooltip, shortcut, registerInToolbar, toolbarId, true); -
trunk/src/org/openstreetmap/josm/actions/AbstractSelectAction.java
r14390 r16553 17 17 * Constructs a new {@code AbstractSelectAction}. 18 18 */ 19 p ublicAbstractSelectAction() {19 protected AbstractSelectAction() { 20 20 putValue(NAME, tr("Select")); 21 21 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 13 13 */ 14 14 public abstract class AbstractShowHistoryAction extends AbstractAction { 15 15 16 /** 16 17 * Constructs a new {@code AbstractShowHistoryAction}. 17 18 */ 18 p ublicAbstractShowHistoryAction() {19 protected AbstractShowHistoryAction() { 19 20 putValue(NAME, tr("History")); 20 21 putValue(SHORT_DESCRIPTION, tr("Download and show the history of the selected objects")); -
trunk/src/org/openstreetmap/josm/actions/AbstractUploadAction.java
r15609 r16553 29 29 * @param registerInToolbar register this action for the toolbar preferences? 30 30 */ 31 p ublicAbstractUploadAction(String name, String iconName, String tooltip, Shortcut shortcut,31 protected AbstractUploadAction(String name, String iconName, String tooltip, Shortcut shortcut, 32 32 boolean registerInToolbar) { 33 33 super(name, iconName, tooltip, shortcut, registerInToolbar); -
trunk/src/org/openstreetmap/josm/actions/ActionParameter.java
r12553 r16553 17 17 * @param name parameter name (the key) 18 18 */ 19 p ublicActionParameter(String name) {19 protected ActionParameter(String name) { 20 20 this.name = name; 21 21 } -
trunk/src/org/openstreetmap/josm/actions/DiskAccessAction.java
r8509 r16553 26 26 * @since 1084 27 27 */ 28 p ublicDiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut) {28 protected DiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut) { 29 29 super(name, iconName, tooltip, shortcut, true); 30 30 } … … 42 42 * @since 5438 43 43 */ 44 p ublicDiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register,44 protected DiskAccessAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean register, 45 45 String toolbarId, boolean installAdapters) { 46 46 super(name, iconName, tooltip, shortcut, register, toolbarId, installAdapters); -
trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java
r16068 r16553 60 60 * @param registerInToolbar register this action for the toolbar preferences? 61 61 */ 62 p ublicDownloadAlongAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {62 protected DownloadAlongAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) { 63 63 super(name, iconName, tooltip, shortcut, registerInToolbar); 64 64 } -
trunk/src/org/openstreetmap/josm/actions/JosmAction.java
r16509 r16553 79 79 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 80 80 */ 81 p ublicJosmAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar,81 protected JosmAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar, 82 82 String toolbarId, boolean installAdapters) { 83 83 super(name); … … 127 127 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 128 128 */ 129 p ublicJosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar,129 protected JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar, 130 130 String toolbarId, boolean installAdapters) { 131 131 this(name, iconName == null ? null : new ImageProvider(iconName).setOptional(true), tooltip, shortcut, registerInToolbar, … … 149 149 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 150 150 */ 151 p ublicJosmAction(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) { 152 152 this(name, iconName, tooltip, shortcut, registerInToolbar, null, installAdapters); 153 153 } … … 168 168 * @param registerInToolbar register this action for the toolbar preferences? 169 169 */ 170 p ublicJosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {170 protected JosmAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) { 171 171 this(name, iconName, tooltip, shortcut, registerInToolbar, null, true); 172 172 } … … 175 175 * Constructs a new {@code JosmAction}. 176 176 */ 177 p ublicJosmAction() {177 protected JosmAction() { 178 178 this(true); 179 179 } … … 184 184 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 185 185 */ 186 p ublicJosmAction(boolean installAdapters) {186 protected JosmAction(boolean installAdapters) { 187 187 setHelpId(); 188 188 if (installAdapters) { … … 203 203 * @since 14012 204 204 */ 205 p ublicJosmAction(String name, String iconName, String tooltip, List<Shortcut> shortcuts) {205 protected JosmAction(String name, String iconName, String tooltip, List<Shortcut> shortcuts) { 206 206 this(name, iconName, tooltip, shortcuts.get(0), true, null, true); 207 207 for (int i = 1; i < shortcuts.size(); i++) { -
trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java
r16509 r16553 44 44 * @param shortcut A ready-created shortcut object or {@code null} if you don't want a shortcut 45 45 */ 46 p ublicSaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut) {46 protected SaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut) { 47 47 super(name, iconName, tooltip, shortcut); 48 48 } … … 57 57 * @since 15496 58 58 */ 59 p ublicSaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut, boolean quiet) {59 protected SaveActionBase(String name, String iconName, String tooltip, Shortcut shortcut, boolean quiet) { 60 60 super(name, iconName, tooltip, shortcut); 61 61 this.quiet = quiet; -
trunk/src/org/openstreetmap/josm/actions/ToggleAction.java
r14784 r16553 40 40 * @param installAdapters false, if you don't want to install layer changed and selection changed adapters 41 41 */ 42 p ublicToggleAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar,42 protected ToggleAction(String name, ImageProvider icon, String tooltip, Shortcut shortcut, boolean registerInToolbar, 43 43 String toolbarId, boolean installAdapters) { 44 44 super(name, icon, tooltip, shortcut, registerInToolbar, toolbarId, installAdapters); … … 60 60 * @param registerInToolbar register this action for the toolbar preferences? 61 61 */ 62 p ublicToggleAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {62 protected ToggleAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) { 63 63 super(name, iconName, tooltip, shortcut, registerInToolbar); 64 64 // 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 451 451 /** 452 452 * 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 455 454 */ 456 455 private void unglueOneWayAnyNodes() throws UserCancelException { -
trunk/src/org/openstreetmap/josm/actions/audio/AbstractAudioAction.java
r16509 r16553 22 22 * @param registerInToolbar register this action for the toolbar preferences? 23 23 */ 24 p ublicAbstractAudioAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {24 protected AbstractAudioAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) { 25 25 super(name, iconName, tooltip, shortcut, registerInToolbar); 26 26 updateEnabledState(); -
trunk/src/org/openstreetmap/josm/actions/audio/AudioFastSlowAction.java
r12846 r16553 27 27 * @param fast {@code true} to increase speed (faster audio), {@code false} to decrease it (slower audio). 28 28 */ 29 p ublicAudioFastSlowAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean fast) {29 protected AudioFastSlowAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean fast) { 30 30 super(name, iconName, tooltip, shortcut, true); 31 31 multiplier = Config.getPref().getDouble("audio.fastfwdmultiplier", 1.3); -
trunk/src/org/openstreetmap/josm/actions/downloadtasks/AbstractDownloadTask.java
r15784 r16553 25 25 * Constructs a new {@code AbstractDownloadTask}. 26 26 */ 27 p ublicAbstractDownloadTask() {27 protected AbstractDownloadTask() { 28 28 errorMessages = new ArrayList<>(); 29 29 } -
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r16144 r16553 233 233 * @param zoomAfterDownload If true, the map view will zoom to download area after download 234 234 */ 235 p ublicAbstractInternalTask(DownloadParams settings, String title, boolean ignoreException, boolean zoomAfterDownload) {235 protected AbstractInternalTask(DownloadParams settings, String title, boolean ignoreException, boolean zoomAfterDownload) { 236 236 super(title, ignoreException); 237 237 this.settings = Objects.requireNonNull(settings); … … 249 249 * @param zoomAfterDownload If true, the map view will zoom to download area after download 250 250 */ 251 p ublicAbstractInternalTask(DownloadParams settings, String title, ProgressMonitor progressMonitor, boolean ignoreException,251 protected AbstractInternalTask(DownloadParams settings, String title, ProgressMonitor progressMonitor, boolean ignoreException, 252 252 boolean zoomAfterDownload) { 253 253 super(title, progressMonitor, ignoreException); -
trunk/src/org/openstreetmap/josm/actions/mapmode/MapMode.java
r14005 r16553 44 44 * @since 11713 45 45 */ 46 p ublicMapMode(String name, String iconName, String tooltip, Shortcut shortcut, Cursor cursor) {46 protected MapMode(String name, String iconName, String tooltip, Shortcut shortcut, Cursor cursor) { 47 47 super(name, "mapmode/"+iconName, tooltip, shortcut, false); 48 48 this.cursor = cursor; … … 58 58 * @since 11713 59 59 */ 60 p ublicMapMode(String name, String iconName, String tooltip, Cursor cursor) {60 protected MapMode(String name, String iconName, String tooltip, Cursor cursor) { 61 61 putValue(NAME, name); 62 62 new ImageProvider("mapmode", iconName).getResource().attachImageIcon(this); -
trunk/src/org/openstreetmap/josm/command/Command.java
r16513 r16553 135 135 * @since 11240 136 136 */ 137 p ublicCommand(DataSet data) {137 protected Command(DataSet data) { 138 138 CheckParameterUtil.ensureParameterNotNull(data, "data"); 139 139 this.data = data; -
trunk/src/org/openstreetmap/josm/command/TransformNodesCommand.java
r12726 r16553 51 51 * @throws NoSuchElementException if objects is empty 52 52 */ 53 p ublicTransformNodesCommand(Collection<? extends OsmPrimitive> objects) {53 protected TransformNodesCommand(Collection<? extends OsmPrimitive> objects) { 54 54 super(objects.iterator().next().getDataSet()); 55 55 this.nodes = AllNodesVisitor.getAllNodes(objects); -
trunk/src/org/openstreetmap/josm/command/conflict/ConflictResolveCommand.java
r14143 r16553 29 29 * @param ds the data set. Must not be null. 30 30 */ 31 p ublicConflictResolveCommand(DataSet ds) {31 protected ConflictResolveCommand(DataSet ds) { 32 32 super(ds); 33 33 } -
trunk/src/org/openstreetmap/josm/data/Bounds.java
r14521 r16553 361 361 362 362 /** 363 * Returns center of the bounding box. 363 364 * @return Center of the bounding box. 364 365 */ -
trunk/src/org/openstreetmap/josm/data/cache/CacheEntry.java
r10723 r16553 22 22 23 23 /** 24 * Returns cache entry content. 24 25 * @return cache entry content 25 26 */ -
trunk/src/org/openstreetmap/josm/data/cache/CacheEntryAttributes.java
r16398 r16553 54 54 55 55 /** 56 * Determines if the entry is marked as "no tile at this zoom level". 56 57 * @return if the entry is marked as "no tile at this zoom level" 57 58 */ … … 69 70 70 71 /** 72 * Returns ETag header value, that was returned for this entry. 71 73 * @return ETag header value, that was returned for this entry. 72 74 */ … … 101 103 102 104 /** 105 * Returns last modification of the object in cache in milliseconds from Epoch. 103 106 * @return last modification of the object in cache in milliseconds from Epoch 104 107 */ … … 117 120 118 121 /** 122 * Returns when the object expires in milliseconds from Epoch. 119 123 * @return when the object expires in milliseconds from Epoch 120 124 */ … … 143 147 144 148 /** 149 * Returns HTTP response code. 145 150 * @return http status code 146 151 * @since 8389 … … 178 183 179 184 /** 185 * Returns error message returned while retrieving this object. 180 186 * @return error message returned while retrieving this object 181 187 */ … … 185 191 186 192 /** 193 * Sets error related to this object. 187 194 * @param error error related to this object 188 195 * @since 10469 … … 193 200 194 201 /** 202 * Sets error message related to this object. 195 203 * @param message error message related to this object 196 204 */ … … 200 208 201 209 /** 210 * Sets exception that caused error. 202 211 * @param e exception that caused error 203 *204 212 */ 205 213 public void setException(Exception e) { … … 208 216 209 217 /** 218 * Returns optional exception that was thrown when fetching resource. 210 219 * @return Optional exception that was thrown when fetching resource 211 *212 220 */ 213 221 public Optional<Class<? extends Exception>> getException() { -
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r16398 r16553 100 100 * @param downloadJobExecutor that will be executing the jobs 101 101 */ 102 p ublicJCSCachedTileLoaderJob(ICacheAccess<K, V> cache,102 protected JCSCachedTileLoaderJob(ICacheAccess<K, V> cache, 103 103 TileJobOptions options, 104 104 ThreadPoolExecutor downloadJobExecutor) { … … 117 117 * @param options of the request 118 118 */ 119 p ublicJCSCachedTileLoaderJob(ICacheAccess<K, V> cache,119 protected JCSCachedTileLoaderJob(ICacheAccess<K, V> cache, 120 120 TileJobOptions options) { 121 121 this(cache, options, DEFAULT_DOWNLOAD_JOB_DISPATCHER); … … 174 174 175 175 /** 176 * 177 * @return checksif object from cache has sufficient data to be returned176 * 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 178 178 */ 179 179 protected boolean isObjectLoadable() { … … 195 195 196 196 /** 197 * Returns key under which discovered server settings will be kept. 197 198 * @return key under which discovered server settings will be kept 198 199 */ -
trunk/src/org/openstreetmap/josm/data/conflict/Conflict.java
r10662 r16553 98 98 99 99 /** 100 * 100 * Determines if my primitive was deleted but it has set non deleted status. 101 101 * @return True if my primitive was deleted but it has set non deleted status because it's referred by another 102 102 * primitive and references to deleted primitives are not allowed. -
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r16310 r16553 182 182 183 183 /** 184 * Determines if the other point has almost the same lat/lon values. 184 185 * @param other other lat/lon 185 186 * @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 1166 1166 1167 1167 /** 1168 * Determines whether anything has been modified. 1168 1169 * @return whether anything has been modified (e.g. colors) 1169 1170 * @since 15496 … … 1214 1215 1215 1216 /** 1216 * @return the URI of the namesapce 1217 * Returns the URI of the namespace. 1218 * @return the URI of the namespace 1217 1219 */ 1218 1220 public String getURI() { … … 1221 1223 1222 1224 /** 1225 * Returns the prefix of the namespace. 1223 1226 * @return the prefix of the namespace, determined from URI if possible 1224 1227 */ … … 1228 1231 1229 1232 /** 1233 * Returns the location of the schema. 1230 1234 * @return the location of the schema 1231 1235 */ -
trunk/src/org/openstreetmap/josm/data/gpx/GpxExtension.java
r16436 r16553 94 94 95 95 /** 96 * Returns the qualified name of the XML element. 96 97 * @return the qualified name of the XML element 97 98 */ … … 101 102 102 103 /** 104 * Returns the prefix of the XML namespace. 103 105 * @return the prefix of the XML namespace 104 106 */ … … 108 110 109 111 /** 112 * Returns the key (local element name) of the extension. 110 113 * @return the key (local element name) of the extension 111 114 */ … … 115 118 116 119 /** 120 * Returns the flattened extension key of this extension. 117 121 * @return the flattened extension key of this extension, used for conversion to OSM layers 118 122 */ 119 123 public String getFlatKey() { 120 124 String ret = ""; 121 if (parent != null && parentinstanceof GpxExtension) {125 if (parent instanceof GpxExtension) { 122 126 GpxExtension ext = (GpxExtension) parent; 123 127 ret = ext.getFlatKey() + ":"; … … 144 148 145 149 /** 150 * Returns the value of the extension. 146 151 * @return the value of the extension 147 152 */ … … 151 156 152 157 /** 158 * Sets the value. 153 159 * @param value the value to set 154 160 */ … … 204 210 205 211 /** 212 * Determines if this extension should be written. 206 213 * @return if this extension should be written, used for hiding colors during export without removing them 207 214 */ … … 211 218 212 219 /** 220 * Returns the parent element of this extension. 213 221 * @return the parent element of this extension, can be another extension or gpx elements (data, track, segment, ...) 214 222 */ -
trunk/src/org/openstreetmap/josm/data/gpx/GpxExtensionCollection.java
r16436 r16553 250 250 251 251 /** 252 * Determines if this collection contains writable extensions. 252 253 * @return <code>true</code> if this collection contains writable extensions 253 254 */ -
trunk/src/org/openstreetmap/josm/data/imagery/AbstractWMSTileSource.java
r14436 r16553 44 44 * @param tileProjection the tile projection 45 45 */ 46 p ublicAbstractWMSTileSource(TileSourceInfo info, Projection tileProjection) {46 protected AbstractWMSTileSource(TileSourceInfo info, Projection tileProjection) { 47 47 super(info); 48 48 this.tileProjection = tileProjection; -
trunk/src/org/openstreetmap/josm/data/imagery/DefaultLayer.java
r14214 r16553 41 41 42 42 /** 43 * Returns layer name of the default layer. 43 44 * @return layer name of the default layer 44 45 */ … … 48 49 49 50 /** 51 * Returns default tileMatrixSet. Only usable for WMTS 50 52 * @return default tileMatrixSet. Only usable for WMTS 51 53 */ … … 55 57 56 58 /** 59 * Returns style for this WMS / WMTS layer to use. 57 60 * @return style for this WMS / WMTS layer to use 58 61 */ … … 62 65 63 66 /** 67 * Returns JSON representation of the default layer object. 64 68 * @return JSON representation of the default layer object 65 69 */ -
trunk/src/org/openstreetmap/josm/data/imagery/LayerDetails.java
r13870 r16553 45 45 46 46 /** 47 * Returns projections that are supported by this layer. 47 48 * @return projections that are supported by this layer 48 49 */ … … 57 58 58 59 /** 59 * 60 * Returns styles defined for this layer. 60 61 * @return styles defined for this layer 61 62 */ … … 70 71 71 72 /** 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 73 75 * @see LayerDetails#getName() 74 76 */ … … 78 80 79 81 /** 80 * @param title set title of this layer 82 * Sets title of this layer 83 * @param title title of this layer 81 84 * @see LayerDetails#getName() 82 85 */ … … 104 107 105 108 /** 106 * @param name sets the name of this Layer 109 * Sets the name of this Layer. 110 * @param name the name of this Layer 107 111 * @see LayerDetails#getName() 108 112 */ … … 129 133 130 134 /** 131 * 135 * Returns bounds within layer might be queried. 132 136 * @return bounds within layer might be queried 133 137 */ … … 137 141 138 142 /** 139 * sets bounds of this layer143 * Sets bounds of this layer 140 144 * @param bounds of this layer 141 145 */ … … 151 155 152 156 /** 153 * 154 * @return parent layer for his layer157 * Returns parent layer for this layer. 158 * @return parent layer for this layer 155 159 */ 156 160 public LayerDetails getParent() { … … 168 172 169 173 /** 170 * 174 * Returns children layers of this layer. 171 175 * @return children layers of this layer 172 176 */ … … 184 188 185 189 /** 190 * Returns abstract of this layer. 186 191 * @return "Narrative description of the layer" 187 192 */ … … 199 204 200 205 /** 206 * Returns flattened stream of this layer and its children. 201 207 * @return flattened stream of this layer and its children (as well as recursively children of its children) 202 208 */ -
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java
r16398 r16553 63 63 64 64 /** 65 * Returns a new {@link ThreadPoolExecutor}. 65 66 * @param nameFormat see {@link Utils#newThreadFactory(String, int)} 66 67 * @param workers number of worker thread to keep … … 72 73 73 74 /** 75 * Returns a new {@link ThreadPoolExecutor}. 74 76 * @param nameFormat see {@link Utils#newThreadFactory(String, int)} 75 77 * @param workers number of worker thread to keep … … 89 91 90 92 /** 93 * Returns a new {@link ThreadPoolExecutor}. 91 94 * @param name name of threads 92 * @return new ThreadPoolExecutor that will use a @see HostLimitQueuebased queue, with default number of threads95 * @return new ThreadPoolExecutor that will use a {@link HostLimitQueue} based queue, with default number of threads 93 96 */ 94 97 public static ThreadPoolExecutor getNewThreadPoolExecutor(String name) { … … 112 115 113 116 /** 117 * Returns cache statistics as string. 114 118 * @return cache statistics as string 115 119 */ … … 148 152 149 153 /** 154 * Returns download executor that is used by this factory. 150 155 * @return download executor that is used by this factory 151 156 */ -
trunk/src/org/openstreetmap/josm/data/imagery/TileJobOptions.java
r13742 r16553 9 9 * 10 10 * @author Wiktor Niesiobedzki 11 * 11 * @since 13733 12 12 */ 13 13 public class TileJobOptions { … … 34 34 35 35 /** 36 * 36 * Returns socket connection timeout in milliseconds. 37 37 * @return socket connection timeout in milliseconds 38 38 */ … … 42 42 43 43 /** 44 * 44 * Returns socket read timeout in milliseconds. 45 45 * @return socket read timeout in milliseconds 46 46 */ … … 50 50 51 51 /** 52 * 52 * Returns unmodifiable map with headers to be sent to tile server. 53 53 * @return unmodifiable map with headers to be sent to tile server 54 54 */ … … 58 58 59 59 /** 60 * 60 * Returns minimum cache expire time in seconds for downloaded tiles. 61 61 * @return minimum cache expire time in seconds for downloaded tiles 62 62 */ -
trunk/src/org/openstreetmap/josm/data/imagery/WMSEndpointTileSource.java
r16056 r16553 86 86 87 87 /** 88 * 88 * Returns list of EPSG codes that current layer selection supports. 89 89 * @return list of EPSG codes that current layer selection supports (this may differ from layer to layer) 90 90 */ -
trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java
r16436 r16553 175 175 176 176 /** 177 * 177 * Returns identifier of this TileMatrixSet. 178 178 * @return identifier of this TileMatrixSet 179 179 */ … … 183 183 184 184 /** 185 * 185 * Returns projection of this tileMatrix. 186 186 * @return projection of this tileMatrix 187 187 */ … … 254 254 255 255 /** 256 * 256 * Returns identifier of this layer. 257 257 * @return identifier of this layer 258 258 */ … … 262 262 263 263 /** 264 * 264 * Returns style of this layer. 265 265 * @return style of this layer 266 266 */ … … 270 270 271 271 /** 272 * 272 * Returns tileMatrixSet of this layer. 273 273 * @return tileMatrixSet of this layer 274 274 */ … … 1069 1069 1070 1070 /** 1071 * Group layers by name and tile matrix set. 1071 1072 * @param layers to be grouped 1072 1073 * @return list with entries - grouping identifier + list of layers … … 1079 1080 1080 1081 /** 1082 * Returns set of projection codes that this TileSource supports. 1081 1083 * @return set of projection codes that this TileSource supports 1082 1084 */ -
trunk/src/org/openstreetmap/josm/data/osm/AbstractDataSourceChangeEvent.java
r15609 r16553 24 24 * @param old The previous set of DataSources 25 25 */ 26 p ublicAbstractDataSourceChangeEvent(DataSet source, Set<DataSource> old) {26 protected AbstractDataSourceChangeEvent(DataSet source, Set<DataSource> old) { 27 27 CheckParameterUtil.ensureParameterNotNull(source, "source"); 28 28 CheckParameterUtil.ensureParameterNotNull(old, "old"); -
trunk/src/org/openstreetmap/josm/data/osm/BBox.java
r15877 r16553 378 378 379 379 /** 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. 381 382 * Height and width must be non-negative, but may (both) be 0. 382 383 * @since 11269 … … 387 388 388 389 /** 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 390 392 * @since 11269 391 393 */ -
trunk/src/org/openstreetmap/josm/data/osm/ChangesetDataSet.java
r14961 r16553 177 177 178 178 /** 179 * Returns an unmodifiable set of all primitives in this dataset. 179 180 * @return an unmodifiable set of all primitives in this dataset. 180 181 * @since 14946 -
trunk/src/org/openstreetmap/josm/data/osm/DataSelectionListener.java
r16143 r16553 96 96 private final Set<OsmPrimitive> old; 97 97 98 p ublicAbstractSelectionEvent(DataSet source, Set<OsmPrimitive> old) {98 protected AbstractSelectionEvent(DataSet source, Set<OsmPrimitive> old) { 99 99 CheckParameterUtil.ensureParameterNotNull(source, "source"); 100 100 CheckParameterUtil.ensureParameterNotNull(old, "old"); -
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r16546 r16553 1278 1278 1279 1279 /** 1280 * Determines if this Dataset contains no primitives. 1280 1281 * @return true if this Dataset contains no primitives 1281 1282 * @since 14835 -
trunk/src/org/openstreetmap/josm/data/osm/Hash.java
r9243 r16553 6 6 * based on some inner state of an object for a set. 7 7 * 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. 9 9 * 10 10 * For use cases, see {@link Storage}. -
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r16463 r16553 129 129 } 130 130 131 protectedNode(long id, boolean allowNegative) {131 Node(long id, boolean allowNegative) { 132 132 super(id, allowNegative); 133 133 } -
trunk/src/org/openstreetmap/josm/data/osm/PrimitiveData.java
r16451 r16553 32 32 * @since 12017 33 33 */ 34 p ublicPrimitiveData(long id) {34 protected PrimitiveData(long id) { 35 35 this.id = id; 36 36 } … … 40 40 * @param data the data to copy 41 41 */ 42 p ublicPrimitiveData(PrimitiveData data) {42 protected PrimitiveData(PrimitiveData data) { 43 43 cloneFrom(data); 44 44 } -
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r16546 r16553 182 182 } 183 183 184 protectedRelation(long id, boolean allowNegative) {184 Relation(long id, boolean allowNegative) { 185 185 super(id, allowNegative); 186 186 } -
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r16546 r16553 182 182 } 183 183 184 protectedWay(long id, boolean allowNegative) {184 Way(long id, boolean allowNegative) { 185 185 super(id, allowNegative); 186 186 } -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java
r16123 r16553 54 54 * @throws IllegalArgumentException if preconditions are violated 55 55 */ 56 p ublicHistoryOsmPrimitive(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) { 57 57 this(id, version, visible, user, changesetId, timestamp, true); 58 58 } … … 73 73 * @since 5440 74 74 */ 75 p ublicHistoryOsmPrimitive(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, 76 76 boolean checkHistoricParams) { 77 77 ensurePositiveLong(id, "id"); … … 95 95 * @param p the primitive 96 96 */ 97 p ublicHistoryOsmPrimitive(OsmPrimitive p) {97 protected HistoryOsmPrimitive(OsmPrimitive p) { 98 98 this(p.getId(), p.getVersion(), p.isVisible(), p.getUser(), p.getChangesetId(), p.getTimestamp()); 99 99 } -
trunk/src/org/openstreetmap/josm/data/osm/search/PushbackTokenizer.java
r16260 r16553 38 38 39 39 /** 40 * Returns the range start. 40 41 * @return The start 41 42 */ … … 45 46 46 47 /** 48 * Returns the range end. 47 49 * @return The end (inclusive) 48 50 */ -
trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java
r16491 r16553 335 335 protected final Match match; 336 336 337 p ublicUnaryMatch(Match match) {337 protected UnaryMatch(Match match) { 338 338 if (match == null) { 339 339 // "operator" (null) should mean the same as "operator()" … … 383 383 * @param rhs Right hand side 384 384 */ 385 p ublicAbstractBinaryMatch(Match lhs, Match rhs) {385 protected AbstractBinaryMatch(Match lhs, Match rhs) { 386 386 this.lhs = lhs; 387 387 this.rhs = rhs; -
trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java
r14734 r16553 135 135 136 136 /** 137 * Returns the bounding box. 137 138 * @return The bounding box or <code>null</code> if no coordinates have passed 138 139 */ -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRenderer.java
r15292 r16553 75 75 * @throws IllegalArgumentException if {@code nc} is null 76 76 */ 77 p ublicAbstractMapRenderer(Graphics2D g, NavigatableComponent nc, boolean isInactiveMode) {77 protected AbstractMapRenderer(Graphics2D g, NavigatableComponent nc, boolean isInactiveMode) { 78 78 CheckParameterUtil.ensureParameterNotNull(g); 79 79 CheckParameterUtil.ensureParameterNotNull(nc); -
trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java
r16488 r16553 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.data.preferences; 3 4 import java.util.Objects; 3 5 4 6 import org.openstreetmap.josm.spi.preferences.Config; … … 9 11 import org.openstreetmap.josm.tools.bugreport.BugReport; 10 12 11 import java.util.Objects;12 13 13 /** 14 14 * Captures the common functionality of preference properties … … 160 160 * @since 5464 161 161 */ 162 p ublicAbstractProperty(String key, T defaultValue) {162 protected AbstractProperty(String key, T defaultValue) { 163 163 // Config.getPref() should not change in production but may change during tests. 164 164 preferences = Config.getPref(); -
trunk/src/org/openstreetmap/josm/data/preferences/AbstractToStringProperty.java
r14114 r16553 77 77 * @see AbstractProperty#AbstractProperty(String, Object) 78 78 */ 79 p ublicAbstractToStringProperty(String key, T defaultValue) {79 protected AbstractToStringProperty(String key, T defaultValue) { 80 80 super(key, defaultValue); 81 81 storeDefaultValue(); -
trunk/src/org/openstreetmap/josm/data/preferences/ParametrizedEnumProperty.java
r12846 r16553 15 15 protected final Class<T> enumClass; 16 16 17 p ublicParametrizedEnumProperty(Class<T> enumClass, T defaultValue) {17 protected ParametrizedEnumProperty(Class<T> enumClass, T defaultValue) { 18 18 this.defaultValue = defaultValue; 19 19 this.enumClass = enumClass; -
trunk/src/org/openstreetmap/josm/data/preferences/sources/ExtendedSourceEntry.java
r15211 r16553 42 42 43 43 /** 44 * Returns string representation for GUI list or menu entry. 44 45 * @return string representation for GUI list or menu entry 45 46 */ -
trunk/src/org/openstreetmap/josm/data/preferences/sources/SourcePrefHelper.java
r15754 r16553 30 30 * @since 12825 31 31 */ 32 p ublicSourcePrefHelper(String pref, SourceType type) {32 protected SourcePrefHelper(String pref, SourceType type) { 33 33 this.pref = pref; 34 34 this.type = type; -
trunk/src/org/openstreetmap/josm/data/projection/AbstractProjection.java
r13640 r16553 181 181 182 182 /** 183 * Returns The EPSG Code of this CRS. 183 184 * @return The EPSG Code of this CRS, null if it doesn't have one. 184 185 */ -
trunk/src/org/openstreetmap/josm/data/projection/datum/AbstractDatum.java
r13627 r16553 22 22 * @param ellps The ellipsoid 23 23 */ 24 p ublicAbstractDatum(String name, String proj4Id, Ellipsoid ellps) {24 protected AbstractDatum(String name, String proj4Id, Ellipsoid ellps) { 25 25 this.name = name; 26 26 this.proj4Id = proj4Id; -
trunk/src/org/openstreetmap/josm/data/projection/datum/Datum.java
r13627 r16553 14 14 15 15 /** 16 * Returns a human readable name of this projection. 16 17 * @return a human readable name of this projection 17 18 */ … … 26 27 27 28 /** 29 * Returns the ellipsoid associated with this datum. 28 30 * @return the ellipsoid associated with this datum 29 31 */ -
trunk/src/org/openstreetmap/josm/data/validation/Test.java
r16332 r16553 107 107 * @param description The test description 108 108 */ 109 p ublicTagTest(String name, String description) {109 protected TagTest(String name, String description) { 110 110 super(name, description); 111 111 } … … 115 115 * @param name The test name 116 116 */ 117 p ublicTagTest(String name) {117 protected TagTest(String name) { 118 118 super(name); 119 119 } … … 377 377 378 378 /** 379 * Returns the name of this class. 379 380 * @return the name of this class (for ToolTip) 380 * since 15972381 * @since 15972 381 382 */ 382 383 public Object getSource() { -
trunk/src/org/openstreetmap/josm/data/validation/TestError.java
r16445 r16553 531 531 532 532 /** 533 * Returns a new {@link MultipleNameVisitor} for the list of primitives affected by this error. 533 534 * @return Name visitor (used in cell renderer and for sorting) 534 535 */ -
trunk/src/org/openstreetmap/josm/data/validation/tests/CrossingWays.java
r16445 r16553 304 304 * @since 12958 305 305 */ 306 p ublicCrossingWays(String title, int code) {306 protected CrossingWays(String title, int code) { 307 307 super(title, tr("This test checks if two roads, railways, waterways or buildings crosses in the same layer, " + 308 308 "but are not connected by a node.")); -
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r16404 r16553 211 211 * @since 6691 212 212 */ 213 p ublicUnconnectedWays(String title) {213 protected UnconnectedWays(String title) { 214 214 this(title, UNCONNECTED_WAYS, false); 215 216 215 } 217 216 … … 223 222 * @since 14468 224 223 */ 225 p ublicUnconnectedWays(String title, int code, boolean isHighwayTest) {224 protected UnconnectedWays(String title, int code, boolean isHighwayTest) { 226 225 super(title, tr("This test checks if a way has an endpoint very near to another way.")); 227 226 this.code = code; -
trunk/src/org/openstreetmap/josm/gui/MainMenu.java
r16529 r16553 471 471 472 472 /** 473 * Returns the default position of new top-level menus. 473 474 * @return the default position of new top-level menus 474 475 * @since 6088 -
trunk/src/org/openstreetmap/josm/gui/MapViewState.java
r15041 r16553 334 334 335 335 /** 336 * Creates a new state that is moved to an east/north coordinate. 336 337 * @param mapViewPoint The reference point. 337 338 * @param newEastNorthThere The east/north coordinate that should be there. -
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r16444 r16553 431 431 432 432 /** 433 * Returns geographic coordinates from a specific pixel coordination on the screen. 433 434 * @param x X-Pixelposition to get coordinate from 434 435 * @param y Y-Pixelposition to get coordinate from … … 492 493 493 494 /** 495 * Returns minimum bounds that will cover a given rectangle. 494 496 * @param r rectangle 495 497 * @return Minimum bounds that will cover rectangle … … 1236 1238 /** 1237 1239 * 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}, 1239 1241 * then, within groups of equally distant segments, prefer those that are selected. 1240 1242 * … … 1637 1639 1638 1640 /** 1641 * Returns the projection to be used in calculating stuff. 1639 1642 * @return The projection to be used in calculating stuff. 1640 1643 */ -
trunk/src/org/openstreetmap/josm/gui/PleaseWaitRunnable.java
r16124 r16553 35 35 * @param title message for the user 36 36 */ 37 p ublicPleaseWaitRunnable(String title) {37 protected PleaseWaitRunnable(String title) { 38 38 this(title, false); 39 39 } … … 47 47 * then use false unless you read result of task (because exception will get lost if you don't) 48 48 */ 49 p ublicPleaseWaitRunnable(String title, boolean ignoreException) {49 protected PleaseWaitRunnable(String title, boolean ignoreException) { 50 50 this(title, new PleaseWaitProgressMonitor(title), ignoreException); 51 51 } … … 61 61 * @throws IllegalArgumentException if parent is null 62 62 */ 63 p ublicPleaseWaitRunnable(Component parent, String title, boolean ignoreException) {63 protected PleaseWaitRunnable(Component parent, String title, boolean ignoreException) { 64 64 CheckParameterUtil.ensureParameterNotNull(parent, "parent"); 65 65 this.title = title; … … 77 77 * then use false unless you read result of task (because exception will get lost if you don't) 78 78 */ 79 p ublicPleaseWaitRunnable(String title, ProgressMonitor progressMonitor, boolean ignoreException) {79 protected PleaseWaitRunnable(String title, ProgressMonitor progressMonitor, boolean ignoreException) { 80 80 this.title = title; 81 81 this.progressMonitor = progressMonitor == null ? new PleaseWaitProgressMonitor(title) : progressMonitor; -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractListMergeModel.java
r16436 r16553 199 199 * Constructs a new {@code ListMergeModel}. 200 200 */ 201 p ublicAbstractListMergeModel() {201 protected AbstractListMergeModel() { 202 202 entries = new EnumMap<>(ListRole.class); 203 203 for (ListRole role : ListRole.values()) { -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractListMerger.java
r16267 r16553 408 408 * @param model list merger model 409 409 */ 410 p ublicAbstractListMerger(AbstractListMergeModel<T, C> model) {410 protected AbstractListMerger(AbstractListMergeModel<T, C> model) { 411 411 this.model = model; 412 412 model.addChangeListener(this); -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractMergePanel.java
r12050 r16553 185 185 * Create a new merge panel. 186 186 */ 187 p ublicAbstractMergePanel() {187 protected AbstractMergePanel() { 188 188 super(new GridBagLayout()); 189 189 } -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/PairTable.java
r12661 r16553 28 28 * @param sm selection model 29 29 */ 30 p ublicPairTable(String name, AbstractListMergeModel<? extends PrimitiveId, ? extends ConflictResolveCommand> model,30 protected PairTable(String name, AbstractListMergeModel<? extends PrimitiveId, ? extends ConflictResolveCommand> model, 31 31 OsmPrimitivesTableModel dm, TableColumnModel cm, ListSelectionModel sm) { 32 32 super(dm, cm, sm); -
trunk/src/org/openstreetmap/josm/gui/correction/CorrectionTableModel.java
r10153 r16553 25 25 * @param corrections list of corrections 26 26 */ 27 p ublicCorrectionTableModel(List<C> corrections) {27 protected CorrectionTableModel(List<C> corrections) { 28 28 this.corrections = corrections; 29 29 apply = new boolean[this.corrections.size()]; -
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r16113 r16553 1033 1033 1034 1034 /** 1035 * Returns the last used height stored in preferences or preferredHeight. 1035 1036 * @return the last used height stored in preferences or preferredHeight 1036 1037 * @since 14425 -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/AbstractCopyAction.java
r15813 r16553 33 33 * @param objectSupplier a supplier which returns the selected tagged object(s) 34 34 */ 35 p ublicAbstractCopyAction(JTable tagTable, IntFunction<String> keySupplier, Supplier<Collection<? extends Tagged>> objectSupplier) {35 protected AbstractCopyAction(JTable tagTable, IntFunction<String> keySupplier, Supplier<Collection<? extends Tagged>> objectSupplier) { 36 36 this.tagTable = Objects.requireNonNull(tagTable); 37 37 this.keySupplier = Objects.requireNonNull(keySupplier); -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java
r15644 r16553 35 35 * Constructs a new {@code HelpAction}. 36 36 */ 37 p ublicHelpAction() {37 protected HelpAction() { 38 38 putValue(SHORT_DESCRIPTION, tr("Launch browser with wiki help for selected object")); 39 39 new ImageProvider("dialogs", "search").getResource().attachImageIcon(this, true); -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableCellRenderer.java
r10153 r16553 15 15 * This is the {@link TableCellRenderer} used in the tables of 16 16 * {@link org.openstreetmap.josm.gui.conflict.pair.relation.RelationMemberMerger}. 17 * 17 * @since 1790 18 18 */ 19 19 public abstract class MemberTableCellRenderer extends JLabel implements TableCellRenderer { … … 25 25 * constructor 26 26 */ 27 p ublicMemberTableCellRenderer() {27 protected MemberTableCellRenderer() { 28 28 setIcon(null); 29 29 setOpaque(true); -
trunk/src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java
r14215 r16553 27 27 * @param downloadSource The download source this panel is for 28 28 */ 29 p ublicAbstractDownloadSourcePanel(final DownloadSource<T> downloadSource) {29 protected AbstractDownloadSourcePanel(final DownloadSource<T> downloadSource) { 30 30 Objects.requireNonNull(downloadSource); 31 31 this.downloadSource = downloadSource; -
trunk/src/org/openstreetmap/josm/gui/download/IDownloadSourceType.java
r16503 r16553 17 17 */ 18 18 public interface IDownloadSourceType { 19 19 20 /** 21 * Returns the checkbox to be added to the UI. 20 22 * @return The checkbox to be added to the UI 21 23 */ … … 25 27 26 28 /** 29 * Returns the checkbox to be added to the UI. 27 30 * @param checkboxChangeListener The listener for checkboxes (may be {@code null}) 28 31 * @return The checkbox to be added to the UI … … 31 34 32 35 /** 36 * Returns the download task class which will be getting the data. 33 37 * @return The {@link DownloadTask} class which will be getting the data 34 38 */ … … 36 40 37 41 /** 42 * Determines the last state of the download type. 38 43 * @return The boolean indicating the last state of the download type 39 44 */ … … 43 48 44 49 /** 50 * Returns the boolean property for this particular download type. 45 51 * @return The boolean property for this particular download type 46 52 */ -
trunk/src/org/openstreetmap/josm/gui/download/OSMDownloadSource.java
r16520 r16553 132 132 133 133 /** 134 * Returns the possible downloads that JOSM can make in the default Download screen. 134 135 * @return The possible downloads that JOSM can make in the default Download screen 135 136 * @since 16503 … … 152 153 153 154 /** 155 * Removes a download source type. 154 156 * @param type The IDownloadSourceType object to remove 155 157 * @return {@code true} if this download types contained the specified object … … 360 362 } 361 363 } 362 363 364 } 364 365 … … 371 372 372 373 /** 374 * Constructs a new {@code OSMDownloadData}. 373 375 * @param downloadPossibilities A list of DataDownloadTypes (instantiated, with 374 376 * options set) … … 379 381 380 382 /** 383 * Returns the download possibilities. 381 384 * @return A list of DataDownloadTypes (instantiated, with options set) 382 385 */ -
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java
r16464 r16553 69 69 private static final List<HistoryHook> hooks = new ArrayList<>(); 70 70 71 pr otectedHistoryBrowserDialogManager() {71 private HistoryBrowserDialogManager() { 72 72 MainApplication.getLayerManager().addLayerChangeListener(this); 73 73 } -
trunk/src/org/openstreetmap/josm/gui/io/AbstractIOTask.java
r14302 r16553 18 18 * Constructs a new {@code AbstractIOTask}. 19 19 */ 20 p ublicAbstractIOTask() {20 protected AbstractIOTask() { 21 21 canceled = false; 22 22 failed = false; -
trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadDialog.java
r9685 r16553 47 47 * @see JComponent#getDefaultLocale 48 48 */ 49 p ublicAbstractUploadDialog(Window owner, ModalityType modalityType) {49 protected AbstractUploadDialog(Window owner, ModalityType modalityType) { 50 50 super(owner, modalityType); 51 51 } … … 89 89 * @see JComponent#getDefaultLocale 90 90 */ 91 p ublicAbstractUploadDialog(Window owner, String title, ModalityType modalityType, GraphicsConfiguration gc) {91 protected AbstractUploadDialog(Window owner, String title, ModalityType modalityType, GraphicsConfiguration gc) { 92 92 super(owner, title, modalityType, gc); 93 93 } … … 125 125 * @see JComponent#getDefaultLocale 126 126 */ 127 p ublicAbstractUploadDialog(Window owner, String title, ModalityType modalityType) {127 protected AbstractUploadDialog(Window owner, String title, ModalityType modalityType) { 128 128 super(owner, title, modalityType); 129 129 } … … 152 152 * @see JComponent#getDefaultLocale 153 153 */ 154 p ublicAbstractUploadDialog(Window owner, String title) {154 protected AbstractUploadDialog(Window owner, String title) { 155 155 super(owner, title); 156 156 } … … 177 177 * @see JComponent#getDefaultLocale 178 178 */ 179 p ublicAbstractUploadDialog(Window owner) {179 protected AbstractUploadDialog(Window owner) { 180 180 super(owner); 181 181 } -
trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadTask.java
r16407 r16553 53 53 * then use false unless you read result of task (because exception will get lost if you don't) 54 54 */ 55 p ublicAbstractUploadTask(String title, boolean ignoreException) {55 protected AbstractUploadTask(String title, boolean ignoreException) { 56 56 super(title, ignoreException); 57 57 } … … 65 65 * then use false unless you read result of task (because exception will get lost if you don't) 66 66 */ 67 p ublicAbstractUploadTask(String title, ProgressMonitor progressMonitor, boolean ignoreException) {67 protected AbstractUploadTask(String title, ProgressMonitor progressMonitor, boolean ignoreException) { 68 68 super(title, progressMonitor, ignoreException); 69 69 } … … 73 73 * @param title message for the user 74 74 */ 75 p ublicAbstractUploadTask(String title) {75 protected AbstractUploadTask(String title) { 76 76 super(title); 77 77 } -
trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java
r16204 r16553 66 66 * i.e., parent relations, and for nodes, additionally, parent ways 67 67 * @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. 69 69 * @param monitor ProgressMonitor to use, or null to create a new one 70 70 */ -
trunk/src/org/openstreetmap/josm/gui/io/importexport/FileExporter.java
r15662 r16553 27 27 * @param filter The extension file filter 28 28 */ 29 p ublicFileExporter(ExtensionFileFilter filter) {29 protected FileExporter(ExtensionFileFilter filter) { 30 30 this.filter = filter; 31 31 this.enabled = true; -
trunk/src/org/openstreetmap/josm/gui/io/importexport/FileImporter.java
r16084 r16553 41 41 * @param filter The extension file filter 42 42 */ 43 p ublicFileImporter(ExtensionFileFilter filter) {43 protected FileImporter(ExtensionFileFilter filter) { 44 44 this.filter = filter; 45 45 this.enabled = true; -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractCachedTileSourceLayer.java
r16398 r16553 45 45 * @param info ImageryInfo describing the layer 46 46 */ 47 p ublicAbstractCachedTileSourceLayer(ImageryInfo info) {47 protected AbstractCachedTileSourceLayer(ImageryInfo info) { 48 48 super(info); 49 49 … … 112 112 113 113 /** 114 * Returns cache configured object for specified cache region. 114 115 * @param name of cache region 115 116 * @return cache configured object for specified cache region -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractModifiableLayer.java
r16548 r16553 21 21 * @param name Layer name 22 22 */ 23 p ublicAbstractModifiableLayer(String name) {23 protected AbstractModifiableLayer(String name) { 24 24 super(name); 25 25 } -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r16436 r16553 215 215 * @param info imagery info 216 216 */ 217 p ublicAbstractTileSourceLayer(ImageryInfo info) {217 protected AbstractTileSourceLayer(ImageryInfo info) { 218 218 super(info); 219 219 setBackgroundLayer(true); … … 709 709 710 710 /** 711 * Returns maximum max zoom level, that will be shown on layer. 711 712 * @param ts TileSource for which we want to know maximum zoom level 712 713 * @return maximum max zoom level, that will be shown on layer … … 717 718 718 719 /** 720 * Returns minimum zoom level, that will be shown on layer. 719 721 * @param ts TileSource for which we want to know minimum zoom level 720 722 * @return minimum zoom level, that will be shown on layer … … 774 776 775 777 /** 776 * 777 * @return if it s allowed to zoom in778 * Determines if it is allowed to zoom in. 779 * @return if it is allowed to zoom in 778 780 */ 779 781 public boolean zoomIncreaseAllowed() { … … 1822 1824 1823 1825 /** 1826 * Determines if the task is finished. 1824 1827 * @return true, if all is done 1825 1828 */ … … 1829 1832 1830 1833 /** 1834 * Returns total number of tiles to download. 1831 1835 * @return total number of tiles to download 1832 1836 */ … … 1860 1864 1861 1865 /** 1866 * Returns tile loader that is used to load the tiles. 1862 1867 * @return tile loader that is used to load the tiles 1863 1868 */ -
trunk/src/org/openstreetmap/josm/gui/layer/AlignImageryPanel.java
r15800 r16553 84 84 85 85 /** 86 * Adds a nag panel for a given imagery info. 86 87 * @param infoToAdd ImageryInfo for which the nag panel should be created 87 88 */ -
trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java
r16548 r16553 373 373 374 374 /** 375 * Returns the linked MarkerLayer. 375 376 * @return the linked MarkerLayer (imported from the same file) 376 377 * @since 15496 … … 381 382 382 383 /** 384 * Sets the linked MarkerLayer. 383 385 * @param linkedMarkerLayer the linked MarkerLayer 384 386 * @since 15496 -
trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
r15371 r16553 69 69 * @param info imagery info 70 70 */ 71 p ublicImageryLayer(ImageryInfo info) {71 protected ImageryLayer(ImageryInfo info) { 72 72 super(info.getName()); 73 73 this.info = info; -
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r15662 r16553 168 168 * @param name Layer name 169 169 */ 170 p ublicLayer(String name) {170 protected Layer(String name) { 171 171 this.propertyChangeSupport = new PropertyChangeSupport(this); 172 172 setName(name); … … 195 195 196 196 /** 197 * Determines whether the layer has / can handle colors. 197 198 * @return whether the layer has / can handle colors. 198 199 * @since 15496 … … 220 221 221 222 /** 223 * Returns a small tooltip hint about some statistics for this layer. 222 224 * @return A small tooltip hint about some statistics for this layer. 223 225 */ … … 234 236 235 237 /** 238 * Determines if the other layer can be merged into this layer. 236 239 * @param other The other layer that is tested to be mergable with this. 237 240 * @return Whether the other layer can be merged into this layer. -
trunk/src/org/openstreetmap/josm/gui/layer/MapViewPaintable.java
r12107 r16553 123 123 124 124 /** 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. 126 127 */ 127 128 public boolean isTemporaryLayer() { -
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r16548 r16553 846 846 847 847 /** 848 * Converts a node to a waypoint. 848 849 * @param n the {@code Node} to convert 849 850 * @return {@code WayPoint} object … … 855 856 856 857 /** 858 * Converts a node to a waypoint. 857 859 * @param n the {@code Node} to convert 858 860 * @param time a timestamp value in milliseconds from the epoch. -
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r16438 r16553 140 140 141 141 /** 142 * Returns cache for TMS region. 142 143 * @return cache for TMS region 143 144 */ -
trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
r16398 r16553 196 196 197 197 /** 198 * Returns cache region for WMS layer. 198 199 * @return cache region for WMS layer 199 200 */ -
trunk/src/org/openstreetmap/josm/gui/layer/WMTSLayer.java
r16398 r16553 115 115 116 116 /** 117 * Returns cache region for WMTS layer. 117 118 * @return cache region for WMTS layer 118 119 */ -
trunk/src/org/openstreetmap/josm/gui/layer/gpx/DateFilterPanel.java
r12853 r16553 37 37 38 38 /** 39 * Create the panel to filter tracks on GPX layer @param layerby date40 * Preferences will be stored in @param preferencePrefix41 * 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. 42 42 * @param layer GPX layer 43 43 * @param preferencePrefix preference prefix -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/TilePosition.java
r13758 r16553 34 34 35 35 /** 36 * Returns the x position. 36 37 * @return the x position 37 38 */ … … 41 42 42 43 /** 44 * Returns the y position. 43 45 * @return the y position 44 46 */ … … 48 50 49 51 /** 52 * Returns the zoom. 50 53 * @return the zoom 51 54 */ -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/WMTSLayerSelection.java
r13824 r16553 133 133 134 134 /** 135 * Returns selected layer. 135 136 * @return selected layer 136 137 */ -
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r16069 r16553 147 147 148 148 /** 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! 150 150 * 151 151 * @param ref reference to the requested icon -
trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSource.java
r15289 r16553 78 78 * @param title The title that can be used as menu entry 79 79 */ 80 p ublicStyleSource(String url, String name, String title) {80 protected StyleSource(String url, String name, String title) { 81 81 super(SourceType.MAP_PAINT_STYLE, url, name, title, true); 82 82 } … … 86 86 * @param entry The entry to copy the data (url, name, ...) from. 87 87 */ 88 p ublicStyleSource(SourceEntry entry) {88 protected StyleSource(SourceEntry entry) { 89 89 super(entry); 90 90 } -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java
r16438 r16553 659 659 * @param a first value 660 660 * @param b second value 661 * @return {@code true} if {@code a >= b}661 * @return {@code true} if {@code a >= b} 662 662 */ 663 663 public static boolean greater_equal(float a, float b) { // NO_UCD (unused code) … … 669 669 * @param a first value 670 670 * @param b second value 671 * @return {@code true} if {@code a <= b}671 * @return {@code true} if {@code a <= b} 672 672 */ 673 673 public static boolean less_equal(float a, float b) { // NO_UCD (unused code) … … 679 679 * @param a first value 680 680 * @param b second value 681 * @return {@code true} if {@code a >b}681 * @return {@code true} if {@code a > b} 682 682 */ 683 683 public static boolean greater(float a, float b) { // NO_UCD (unused code) … … 689 689 * @param a first value 690 690 * @param b second value 691 * @return {@code true} if {@code a <b}691 * @return {@code true} if {@code a < b} 692 692 */ 693 693 public static boolean less(float a, float b) { // NO_UCD (unused code) -
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/StyleElement.java
r14095 r16553 65 65 * is enabled, false if a style for selected state is given explicitly 66 66 */ 67 p ublicStyleElement(float majorZIndex, float zIndex, float objectZIndex, boolean isModifier, boolean defaultSelectedHandling) {67 protected StyleElement(float majorZIndex, float zIndex, float objectZIndex, boolean isModifier, boolean defaultSelectedHandling) { 68 68 this.majorZIndex = majorZIndex; 69 69 this.zIndex = zIndex; -
trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java
r13173 r16553 28 28 * @since 10189 29 29 */ 30 p ublicAbstractAuthorizationUI() {30 protected AbstractAuthorizationUI() { 31 31 } 32 32 … … 36 36 * @since 5422 37 37 */ 38 p ublicAbstractAuthorizationUI(String apiUrl) {38 protected AbstractAuthorizationUI(String apiUrl) { 39 39 setApiUrl(apiUrl); 40 40 } -
trunk/src/org/openstreetmap/josm/gui/preferences/DefaultPreferenceSetting.java
r13050 r16553 24 24 * (Not an expert option by default.) 25 25 */ 26 p ublicDefaultPreferenceSetting() {26 protected DefaultPreferenceSetting() { 27 27 this(false); 28 28 } … … 33 33 * @param isExpert true, if it is an expert option 34 34 */ 35 p ublicDefaultPreferenceSetting(boolean isExpert) {35 protected DefaultPreferenceSetting(boolean isExpert) { 36 36 this.isExpert = isExpert; 37 37 } -
trunk/src/org/openstreetmap/josm/gui/preferences/DefaultTabPreferenceSetting.java
r15845 r16553 30 30 * Constructs a new {@code DefaultTabPreferenceSetting}. 31 31 */ 32 p ublicDefaultTabPreferenceSetting() {32 protected DefaultTabPreferenceSetting() { 33 33 this(null, null, null); 34 34 } 35 35 36 p ublicDefaultTabPreferenceSetting(String iconName, String title, String description) {36 protected DefaultTabPreferenceSetting(String iconName, String title, String description) { 37 37 this(iconName, title, description, false); 38 38 } 39 39 40 p ublicDefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert) {40 protected DefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert) { 41 41 this(iconName, title, description, isExpert, null); 42 42 } 43 43 44 p ublicDefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert, JTabbedPane tabpane) {44 protected DefaultTabPreferenceSetting(String iconName, String title, String description, boolean isExpert, JTabbedPane tabpane) { 45 45 super(isExpert); 46 46 this.iconName = iconName; -
trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java
r15926 r16553 194 194 public interface ValidationListener { 195 195 /** 196 * 196 * Determines if preferences can be saved. 197 197 * @return True if preferences can be saved 198 198 */ -
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r16468 r16553 146 146 * @param handleIcons {@code true} if icons may be managed, {@code false} otherwise 147 147 */ 148 p ublicSourceEditor(SourceType sourceType, String availableSourcesUrl, List<SourceProvider> sourceProviders, boolean handleIcons) {148 protected SourceEditor(SourceType sourceType, String availableSourcesUrl, List<SourceProvider> sourceProviders, boolean handleIcons) { 149 149 150 150 this.sourceType = sourceType; -
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AbstractListEditor.java
r12678 r16553 28 28 * @param entry Preference entry 29 29 */ 30 p ublicAbstractListEditor(Component parent, String title, PrefEntry entry) {30 protected AbstractListEditor(Component parent, String title, PrefEntry entry) { 31 31 super(parent, title, tr("OK"), tr("Cancel")); 32 32 this.entry = entry; -
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AbstractTableListEditor.java
r13130 r16553 48 48 * @param entry Preference entry 49 49 */ 50 p ublicAbstractTableListEditor(Component parent, String title, PrefEntry entry) {50 protected AbstractTableListEditor(Component parent, String title, PrefEntry entry) { 51 51 super(parent, title, entry); 52 52 entryModel = newEntryListModel(); -
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/HeadersTable.java
r15586 r16553 111 111 112 112 /** 113 * Returns headers provided by user. 113 114 * @return headers provided by user 114 115 */ -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java
r14005 r16553 24 24 * @param id unique identifier for the projection choice 25 25 */ 26 p ublicAbstractProjectionChoice(String name, String id) {26 protected AbstractProjectionChoice(String name, String id) { 27 27 this.name = name; 28 28 this.id = id; -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ListProjectionChoice.java
r9990 r16553 33 33 * @param defaultIndex the default index for the combo-box 34 34 */ 35 p ublicListProjectionChoice(String name, String id, String[] entries, String label, int defaultIndex) {35 protected ListProjectionChoice(String name, String id, String[] entries, String label, int defaultIndex) { 36 36 super(name, id); 37 37 this.entries = Utils.copyArray(entries); … … 47 47 * @param label a label shown left to the combo-box 48 48 */ 49 p ublicListProjectionChoice(String name, String id, String[] entries, String label) {49 protected ListProjectionChoice(String name, String id, String[] entries, String label) { 50 50 this(name, id, entries, label, 0); 51 51 } -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/SubPrefsOptions.java
r7937 r16553 3 3 4 4 /** 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 6 7 */ 7 8 public interface SubPrefsOptions { 8 9 9 10 /** 11 * Determines if the projection code should be displayed in the top panel. 10 12 * @return true, if the projection code should be displayed in the top panel 11 13 */ … … 13 15 14 16 /** 17 * Determines if the projection name should be displayed in the top panel. 15 18 * @return true, if the projection name should be displayed in the top panel 16 19 */ -
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionList.java
r13173 r16553 72 72 73 73 /** 74 * Returns the current filter expression. 74 75 * @return the current filter expression; null, if no filter expression is set 75 76 */ -
trunk/src/org/openstreetmap/josm/gui/widgets/AbstractIdTextField.java
r12620 r16553 21 21 * @param klass The validator class 22 22 */ 23 p ublicAbstractIdTextField(Class<T> klass) {23 protected AbstractIdTextField(Class<T> klass) { 24 24 this(klass, 0); 25 25 } … … 31 31 * @see JosmTextField#JosmTextField(int) 32 32 */ 33 p ublicAbstractIdTextField(Class<T> klass, int columns) {33 protected AbstractIdTextField(Class<T> klass, int columns) { 34 34 super(columns); 35 35 T validator = null; -
trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
r11386 r16553 85 85 * @throws IllegalArgumentException if tc is null 86 86 */ 87 p ublicAbstractTextComponentValidator(JTextComponent tc) {87 protected AbstractTextComponentValidator(JTextComponent tc) { 88 88 this(tc, true); 89 89 } … … 95 95 * @param addActionListener {@code true} to add the action listener 96 96 */ 97 p ublicAbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) {97 protected AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) { 98 98 this(tc, true, true, addActionListener); 99 99 } … … 106 106 * @param addActionListener {@code true} to add the action listener 107 107 */ 108 public AbstractTextComponentValidator(JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) { 108 protected AbstractTextComponentValidator( 109 JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) { 109 110 CheckParameterUtil.ensureParameterNotNull(tc, "tc"); 110 111 this.tc = tc; -
trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitLayout.java
r16453 r16553 190 190 191 191 /** 192 * Returns the value of the floatingDividers property. 192 193 * @return the value of the floatingDividers property 193 194 * @see #setFloatingDividers … … 715 716 716 717 /** 718 * Returns the invalid Node. 717 719 * @return the invalid Node. 718 720 */ -
trunk/src/org/openstreetmap/josm/gui/widgets/OsmPrimitivesTable.java
r12636 r16553 36 36 * @param sm selection model 37 37 */ 38 p ublicOsmPrimitivesTable(OsmPrimitivesTableModel dm, TableColumnModel cm, ListSelectionModel sm) {38 protected OsmPrimitivesTable(OsmPrimitivesTableModel dm, TableColumnModel cm, ListSelectionModel sm) { 39 39 super(dm, cm, sm); 40 40 addMouseListener(new PopupMenuLauncher(getPopUpMenu())); -
trunk/src/org/openstreetmap/josm/gui/widgets/PopupMenuLauncher.java
r15662 r16553 149 149 150 150 /** 151 * Returns the popup menu. 151 152 * @return the popup menu if defined, {@code null} otherwise. 152 153 * @since 5884 -
trunk/src/org/openstreetmap/josm/gui/widgets/SearchTextResultListPanel.java
r14976 r16553 40 40 * Constructs a new {@code SearchTextResultListPanel}. 41 41 */ 42 p ublicSearchTextResultListPanel() {42 protected SearchTextResultListPanel() { 43 43 super(new BorderLayout()); 44 44 -
trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
r15588 r16553 256 256 257 257 /** 258 * Determines if download is complete for the given bounding box. 258 259 * @return true if download is complete for the given bounding box (not filtered) 259 260 */ -
trunk/src/org/openstreetmap/josm/io/CacheCustomContent.java
r16426 r16553 73 73 * @param updateInterval update interval in seconds. -1 means always 74 74 */ 75 p ublicCacheCustomContent(String ident, int updateInterval) {75 protected CacheCustomContent(String ident, int updateInterval) { 76 76 this.ident = ident; 77 77 this.updateInterval = updateInterval; -
trunk/src/org/openstreetmap/josm/io/OsmServerLocationReader.java
r15784 r16553 47 47 protected InputStream in; 48 48 49 p ublicParser(ProgressMonitor progressMonitor, Compression compression) {49 protected Parser(ProgressMonitor progressMonitor, Compression compression) { 50 50 this.progressMonitor = progressMonitor; 51 51 this.compression = compression; -
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r16427 r16553 47 47 * Constructs a new {@code OsmServerReader}. 48 48 */ 49 p ublicOsmServerReader() {49 protected OsmServerReader() { 50 50 try { 51 51 doAuthenticate = OsmApi.isUsingOAuth() -
trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java
r16412 r16553 245 245 246 246 /** 247 * Returns root URL of services in this GetCapabilities. 247 248 * @return root URL of services in this GetCapabilities 248 249 */ … … 272 273 273 274 /** 275 * Returns root URL of services without the GetCapabilities call. 274 276 * @return root URL of services without the GetCapabilities call 275 277 * @since 15209 … … 304 306 305 307 /** 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 * 306 316 * @param selectedLayers selected layers as subset of the tree returned by {@link #getLayers()} 307 317 * @param selectedStyles selected styles for all selectedLayers … … 315 325 316 326 /** 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 * 317 333 * @param selectedLayers selected layers as subset of the tree returned by {@link #getLayers()} 318 334 * @param selectedStyles selected styles for all selectedLayers … … 332 348 333 349 /** 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 * 334 356 * @param selectedLayers selected layers as list of strings 335 357 * @param selectedStyles selected styles of layers as list of strings … … 524 546 525 547 /** 548 * Determines if this service operates at protocol level below WMS 1.3.0 526 549 * @return if this service operates at protocol level below 1.3.0 527 550 */ … … 709 732 710 733 /** 734 * Returns collection of LayerDetails specified by defaultLayers. 711 735 * @param defaultLayers default layers that should select layer object 712 * @return collection of LayerDetails specified by DefaultLayers736 * @return collection of LayerDetails specified by defaultLayers 713 737 */ 714 738 public List<LayerDetails> getLayers(List<DefaultLayer> defaultLayers) { … … 721 745 722 746 /** 747 * Returns title of this service. 723 748 * @return title of this service 724 749 */ -
trunk/src/org/openstreetmap/josm/io/session/SessionReader.java
r16436 r16553 200 200 201 201 /** 202 * Returns list of layers that are later added to the mapview. 202 203 * @return list of layers that are later added to the mapview 203 204 */ … … 207 208 208 209 /** 210 * Returns active layer. 209 211 * @return active layer, or {@code null} if not set 210 212 * @since 6271 … … 216 218 217 219 /** 220 * Returns actions executed in EDT after layers have been added. 218 221 * @return actions executed in EDT after layers have been added (message dialog, etc.) 219 222 */ … … 223 226 224 227 /** 225 * Return the viewport (map position and scale).228 * Returns the viewport (map position and scale). 226 229 * @return the viewport; can be null when no viewport info is found in the file 227 230 */ … … 231 234 232 235 /** 233 * Return the projection choice data.236 * Returns the projection choice data. 234 237 * @return the projection; can be null when no projection info is found in the file 235 238 */ -
trunk/src/org/openstreetmap/josm/plugins/Plugin.java
r14149 r16553 102 102 * @param info the plugin information describing the plugin. 103 103 */ 104 p ublicPlugin(PluginInformation info) {104 protected Plugin(PluginInformation info) { 105 105 this.info = info; 106 106 } -
trunk/src/org/openstreetmap/josm/spi/preferences/AbstractSetting.java
r12882 r16553 14 14 protected Long time; 15 15 protected boolean isNew; 16 16 17 /** 17 18 * Constructs a new {@code AbstractSetting} with the given value 18 19 * @param value The setting value 19 20 */ 20 p ublicAbstractSetting(T value) {21 protected AbstractSetting(T value) { 21 22 this.value = value; 22 23 this.time = null; -
trunk/src/org/openstreetmap/josm/tools/HttpClient.java
r16551 r16553 513 513 514 514 /** 515 * Indicates that other requests to the server are unlikely in the near future. 515 516 * @see HttpURLConnection#disconnect() 516 517 */ -
trunk/src/org/openstreetmap/josm/tools/WindowsShortcut.java
r14199 r16553 68 68 69 69 /** 70 * Returns the name of the filesystem object pointed to by this shortcut. 70 71 * @return the name of the filesystem object pointed to by this shortcut 71 72 */
Note:
See TracChangeset
for help on using the changeset viewer.