Ignore:
Timestamp:
2015-04-29T01:44:01+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:RedundantThrowsDeclarationCheck + consistent Javadoc for exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/util/ValUtil.java

    r7005 r8291  
    114114     * @throws IllegalArgumentException if n1 or n2 is {@code null} or without coordinates
    115115     */
    116     public static List<Point2D> getSegmentCells(Node n1, Node n2, double gridDetail) throws IllegalArgumentException {
     116    public static List<Point2D> getSegmentCells(Node n1, Node n2, double gridDetail) {
    117117        CheckParameterUtil.ensureParameterNotNull(n1, "n1");
    118118        CheckParameterUtil.ensureParameterNotNull(n1, "n2");
     
    131131     * @since 6869
    132132     */
    133     public static List<Point2D> getSegmentCells(EastNorth en1, EastNorth en2, double gridDetail) throws IllegalArgumentException {
     133    public static List<Point2D> getSegmentCells(EastNorth en1, EastNorth en2, double gridDetail) {
    134134        CheckParameterUtil.ensureParameterNotNull(en1, "en1");
    135135        CheckParameterUtil.ensureParameterNotNull(en2, "en2");
Note: See TracChangeset for help on using the changeset viewer.