Index: /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java
===================================================================
--- /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java	(revision 26918)
+++ /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java	(revision 26919)
@@ -27,6 +27,4 @@
 		return false;
 	    for( Node n : way.getNodes() ) {
-		if( n == null )
-		    System.out.println("Node is null");
 		if( n.isIncomplete() || (a != null && !a.contains(n.getCoor())) )
 		    return false;
@@ -65,5 +63,5 @@
     
     public static List<Relation> process( Collection<Way> selectedWays ) {
-	System.out.println("---------------------------------------");
+//	System.out.println("---------------------------------------");
 	List<Relation> result = new ArrayList<Relation>();
 	List<Way> rings = new ArrayList<Way>();
@@ -322,5 +320,5 @@
 	    if( touchingWays.get(w) ) {
 		otherWays.add(new TheRing(w));
-		System.out.println("Touching ring: " + otherWays.get(otherWays.size()-1));
+//		System.out.println("Touching ring: " + otherWays.get(otherWays.size()-1));
 	    }
 	
Index: /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/TheRing.java
===================================================================
--- /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/TheRing.java	(revision 26918)
+++ /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/TheRing.java	(revision 26919)
@@ -57,5 +57,5 @@
      */
     public static List<Relation> makeManySimpleMultipolygons( Collection<Way> selection, List<Command> commands ) {
-	System.out.println("---------------------------------------");
+	log("---------------------------------------");
 	List<TheRing> rings = new ArrayList<TheRing>(selection.size());
 	for( Way w : selection )
@@ -83,9 +83,9 @@
 		    RingSegment segment2 = other.segments.get(j);
 		    if( !segment2.isReference() ) {
-			System.out.println("Comparing " + segment1 + " and " + segment2);
+			log("Comparing " + segment1 + " and " + segment2);
 			Node[] split = getSplitNodes(segment1.getNodes(), segment2.getNodes(), segment1.isRing(), segment2.isRing());
 			if( split != null ) {
 			    if( !collideNoted ) {
-				System.out.println("Rings for ways " + source.getUniqueId() + " and " + other.source.getUniqueId() + " collide.");
+				log("Rings for ways " + source.getUniqueId() + " and " + other.source.getUniqueId() + " collide.");
 				collideNoted = true;
 			    }
@@ -125,5 +125,5 @@
 	int firstPos = isRing1 ? pos : nodes1.size();
 	while( !collideFound ) {
-	    System.out.println("pos=" + pos);
+	    log("pos=" + pos);
 	    int start1 = pos;
 	    int start2 = nodes2.indexOf(nodes1.get(start1));
@@ -141,5 +141,5 @@
 		}
 	    }
-	    System.out.println("last1=" + last1 + " last2=" + last2 + " increment2=" + increment2);
+	    log("last1=" + last1 + " last2=" + last2 + " increment2=" + increment2);
 	    if( increment2 != 0 ) {
 		// find the first nodes
@@ -155,5 +155,5 @@
 		    }
 		}
-		System.out.println("last1=" + last1 + " last2=" + last2);
+		log("last1=" + last1 + " last2=" + last2);
 		if( increment2 < 0 ) {
 		    int tmp = start2;
@@ -205,5 +205,5 @@
 	RingSegment segment = segments.get(segmentIndex);
 	boolean isRing = segment.isRing();
-	System.out.println("Split segment " + segment + " at nodes " + n1.getUniqueId() + " and " + n2.getUniqueId());
+	log("Split segment " + segment + " at nodes " + n1.getUniqueId() + " and " + n2.getUniqueId());
 	boolean reversed = segment.getNodes().indexOf(n2) < segment.getNodes().indexOf(n1);
 	if( reversed && !isRing ) {
@@ -409,4 +409,8 @@
     }
     
+    private static void log( String s ) {
+//	System.out.println(s);
+    }
+    
     private static class RingSegment {
 	private List<Node> nodes;
@@ -512,5 +516,5 @@
 
 	public void makeReference( RingSegment segment ) {
-	    System.out.println(this + " was made a reference to " + segment);
+	    log(this + " was made a reference to " + segment);
 	    this.nodes = null;
 	    this.references = segment;
