Ignore:
Timestamp:
2015-06-06T04:32:00+02:00 (10 years ago)
Author:
Don-vip
Message:

javadoc fixes. Removed one duplicated method in exception handling

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/CompositeList.java

    r8290 r8470  
    99 *
    1010 * Extremely simple single-purpose implementation.
    11  * @param <T>
     11 * @param <T> item type
    1212 * @since 7109
    1313 */
  • trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java

    r7596 r8470  
    614614     * the root exception <code>e</code>) or null, if no such exception is found.
    615615     *
    616      * @param <T>
     616     * @param <T> nested exception type
    617617     * @param e the root exception
    618618     * @param nestedClass the type of the nested exception
    619619     * @return the first nested exception of type <code>nestedClass</code> (including
    620620     * 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) {
    623624        Throwable t = e;
    624625        while (t != null && !(nestedClass.isInstance(t))) {
  • trunk/src/org/openstreetmap/josm/tools/ExifReader.java

    r8364 r8470  
    121121     * @param dirGps The EXIF GPS directory
    122122     * @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
    124124     * @since 6209
    125125     */
  • trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java

    r8416 r8470  
    5151     * Create new GeoPropertyIndex.
    5252     * @param geoProp the input property that should be made faster by this index
    53      * @param maxLevel
     53     * @param maxLevel max level
    5454     */
    5555    public GeoPropertyIndex(GeoProperty<T> geoProp, int maxLevel) {
  • trunk/src/org/openstreetmap/josm/tools/Geometry.java

    r8459 r8470  
    227227     * @param lineP2 second point in path
    228228     * @param lineP3 third point in path
    229      * @param testPoint
     229     * @param testPoint point to test
    230230     * @return true if to the right side, false otherwise
    231231     */
     
    714714     * Returns angle of a segment defined with 2 point coordinates.
    715715     *
    716      * @param p1
    717      * @param p2
     716     * @param p1 first point
     717     * @param p2 second point
    718718     * @return Angle in radians (-pi, pi]
    719719     */
     
    729729     * Returns angle of a corner defined with 3 point coordinates.
    730730     *
    731      * @param p1
     731     * @param p1 first point
    732732     * @param p2 Common endpoint
    733      * @param p3
     733     * @param p3 third point
    734734     * @return Angle in radians (-pi, pi]
    735735     */
  • trunk/src/org/openstreetmap/josm/tools/TextTagParser.java

    r8468 r8470  
    195195    /**
    196196     * Apply different methods to extract tag-value pairs from arbitrary text
    197      * @param buf
     197     * @param buf buffer
    198198     * @return null if no format is suitable
    199199     */
    200 
    201200    public static Map<String,String> readTagsFromText(String buf) {
    202201        Map<String,String> tags;
Note: See TracChangeset for help on using the changeset viewer.