Ignore:
Timestamp:
2015-05-23T01:40:23+02:00 (9 years ago)
Author:
Don-vip
Message:

Sonar: various code style cleanup:

  • fix copyright
  • classes that should be final
  • order of javadoc At-clauses
  • unexpected spaces before parenthesis
File:
1 edited

Legend:

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

    r8395 r8419  
    424424     * @param point Point for which a closest point is searched on line (P1,P2)
    425425     * @return The closest point found on line. It may be outside the segment [P1,P2].
     426     * @see #closestPointToSegment
    426427     * @since 4134
    427      * @see #closestPointToSegment
    428428     */
    429429    public static EastNorth closestPointToLine(EastNorth lineP1, EastNorth lineP2, EastNorth point) {
     
    690690    /**
    691691     * Determines whether path from nodes list is oriented clockwise.
    692      * @see #isClockwise(Way)
    693692     * @param nodes Nodes list to be checked.
    694693     * @return true if and only if way is oriented clockwise.
    695694     * @throws IllegalArgumentException if way is not closed (see {@link Way#isClosed}).
     695     * @see #isClockwise(Way)
    696696     */
    697697    public static boolean isClockwise(List<Node> nodes) {
Note: See TracChangeset for help on using the changeset viewer.