Ticket #17680: 17680.patch

File 17680.patch, 988 bytes (added by GerdP, 7 years ago)
  • src/org/openstreetmap/josm/tools/Geometry.java

     
    8787     * Prerequisite: no two nodes have the same coordinates.
    8888     *
    8989     * @param ways  a list of ways to test
    90      * @param test  if false, do not build list of Commands, just return nodes
     90     * @param test  if true, do not build list of Commands, just return nodes
    9191     * @param cmds  list of commands, typically empty when handed to this method.
    9292     *              Will be filled with commands that add intersection nodes to
    9393     *              the ways.
    94      * @return list of new nodes
     94     * @return list of new nodes, if test is true the list might not contain all intersections
    9595     */
    9696    public static Set<Node> addIntersections(List<Way> ways, boolean test, List<Command> cmds) {
    9797