Changeset 11664 in josm for trunk/src


Ignore:
Timestamp:
2017-03-04T16:43:50+01:00 (7 years ago)
Author:
michael2402
Message:

Remove redundant isValid check.

File:
1 edited

Legend:

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

    r11516 r11664  
    345345        CheckParameterUtil.ensureValidCoordinates(p3, "p3");
    346346        CheckParameterUtil.ensureValidCoordinates(p4, "p4");
    347 
    348         if (!p1.isValid()) throw new IllegalArgumentException(p1+" is invalid");
    349347
    350348        // Basically, the formula from wikipedia is used:
Note: See TracChangeset for help on using the changeset viewer.