Changeset 8470 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-06-06T04:32:00+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/CompositeList.java
r8290 r8470 9 9 * 10 10 * Extremely simple single-purpose implementation. 11 * @param <T> 11 * @param <T> item type 12 12 * @since 7109 13 13 */ -
trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java
r7596 r8470 614 614 * the root exception <code>e</code>) or null, if no such exception is found. 615 615 * 616 * @param <T> 616 * @param <T> nested exception type 617 617 * @param e the root exception 618 618 * @param nestedClass the type of the nested exception 619 619 * @return the first nested exception of type <code>nestedClass</code> (including 620 620 * the root exception <code>e</code>) or null, if no such exception is found. 621 */ 622 protected static <T> T getNestedException(Exception e, Class<T> nestedClass) { 621 * @since 8470 622 */ 623 public static <T> T getNestedException(Exception e, Class<T> nestedClass) { 623 624 Throwable t = e; 624 625 while (t != null && !(nestedClass.isInstance(t))) { -
trunk/src/org/openstreetmap/josm/tools/ExifReader.java
r8364 r8470 121 121 * @param dirGps The EXIF GPS directory 122 122 * @return The lat/lon read in the EXIF section, or {@code null} if {@code dirGps} is null 123 * @throws MetadataException 123 * @throws MetadataException if invalid metadata is given 124 124 * @since 6209 125 125 */ -
trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java
r8416 r8470 51 51 * Create new GeoPropertyIndex. 52 52 * @param geoProp the input property that should be made faster by this index 53 * @param maxLevel 53 * @param maxLevel max level 54 54 */ 55 55 public GeoPropertyIndex(GeoProperty<T> geoProp, int maxLevel) { -
trunk/src/org/openstreetmap/josm/tools/Geometry.java
r8459 r8470 227 227 * @param lineP2 second point in path 228 228 * @param lineP3 third point in path 229 * @param testPoint 229 * @param testPoint point to test 230 230 * @return true if to the right side, false otherwise 231 231 */ … … 714 714 * Returns angle of a segment defined with 2 point coordinates. 715 715 * 716 * @param p1 717 * @param p2 716 * @param p1 first point 717 * @param p2 second point 718 718 * @return Angle in radians (-pi, pi] 719 719 */ … … 729 729 * Returns angle of a corner defined with 3 point coordinates. 730 730 * 731 * @param p1 731 * @param p1 first point 732 732 * @param p2 Common endpoint 733 * @param p3 733 * @param p3 third point 734 734 * @return Angle in radians (-pi, pi] 735 735 */ -
trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
r8468 r8470 195 195 /** 196 196 * Apply different methods to extract tag-value pairs from arbitrary text 197 * @param buf 197 * @param buf buffer 198 198 * @return null if no format is suitable 199 199 */ 200 201 200 public static Map<String,String> readTagsFromText(String buf) { 202 201 Map<String,String> tags;
Note:
See TracChangeset
for help on using the changeset viewer.