Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-04-29T01:44:01+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/CheckParameterUtil.java
r6506 r8291 106 106 * @param id the primitive id 107 107 * @param parameterName the name of the parameter to be checked 108 * @throws IllegalArgumentException thrownif id is null109 * @throws IllegalArgumentException thrownif id.getType() != NODE108 * @throws IllegalArgumentException if id is null 109 * @throws IllegalArgumentException if id.getType() != NODE 110 110 */ 111 111 public static void ensureValidNodeId(PrimitiveId id, String parameterName) throws IllegalArgumentException { -
trunk/src/org/openstreetmap/josm/tools/OpenBrowser.java
r7335 r8291 34 34 * @param uri The URI to display 35 35 * @return <code>null</code> for success or a string in case of an error. 36 * @throws IllegalStateException thrownif no platform is set to which opening the URL can be dispatched,36 * @throws IllegalStateException if no platform is set to which opening the URL can be dispatched, 37 37 * {@link Main#platform} 38 38 */ … … 81 81 * @param url The URL to display 82 82 * @return <code>null</code> for success or a string in case of an error. 83 * @throws IllegalStateException thrownif no platform is set to which opening the URL can be dispatched,83 * @throws IllegalStateException if no platform is set to which opening the URL can be dispatched, 84 84 * {@link Main#platform} 85 85 */ -
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r7005 r8291 22 22 } 23 23 24 public static Bounds parse(String url) throws IllegalArgumentException{24 public static Bounds parse(String url) { 25 25 try { 26 26 // a percent sign indicates an encoded URL (RFC 1738). … … 83 83 * @return Bounds if hashurl, {@code null} otherwise 84 84 */ 85 private static Bounds parseHashURLs(String url) throws IllegalArgumentException{85 private static Bounds parseHashURLs(String url) { 86 86 int startIndex = url.indexOf("#map="); 87 87 if (startIndex == -1) return null; -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r8287 r8291 353 353 * @param out The destination file 354 354 * @return the path to the target file 355 * @throws java.io.IOException If any I/O error occurs356 * @throws IllegalArgumentException If {@code in} or {@code out} is {@code null}355 * @throws IOException if any I/O error occurs 356 * @throws IllegalArgumentException if {@code in} or {@code out} is {@code null} 357 357 * @since 7003 358 358 */ … … 367 367 * @param in The source directory 368 368 * @param out The destination directory 369 * @throws IOException If any I/O error ooccurs370 * @throws IllegalArgumentException If {@code in} or {@code out} is {@code null}369 * @throws IOException if any I/O error ooccurs 370 * @throws IllegalArgumentException if {@code in} or {@code out} is {@code null} 371 371 * @since 7835 372 372 */ -
trunk/src/org/openstreetmap/josm/tools/WindowGeometry.java
r7463 r8291 222 222 * 223 223 * @param preferenceKey the preference key 224 * @throws WindowGeometryException thrownif no such key exist or if the preference value has224 * @throws WindowGeometryException if no such key exist or if the preference value has 225 225 * an illegal format 226 226 */
Note:
See TracChangeset
for help on using the changeset viewer.