Index: trunk/src/org/openstreetmap/josm/tools/Geometry.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Geometry.java	(revision 15054)
+++ trunk/src/org/openstreetmap/josm/tools/Geometry.java	(revision 15055)
@@ -88,9 +88,9 @@
      *
      * @param ways  a list of ways to test
-     * @param test  if false, do not build list of Commands, just return nodes
+     * @param test  if true, do not build list of Commands, just return nodes
      * @param cmds  list of commands, typically empty when handed to this method.
      *              Will be filled with commands that add intersection nodes to
      *              the ways.
-     * @return list of new nodes
+     * @return list of new nodes, if test is true the list might not contain all intersections
      */
     public static Set<Node> addIntersections(List<Way> ways, boolean test, List<Command> cmds) {
