Index: trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java	(revision 3602)
+++ trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java	(revision 3603)
@@ -154,5 +154,5 @@
 
         QBLevel findBucket(BBox bbox) {
-            if (isLeaf())
+            if (!hasChildren())
                 return this;
             else {
@@ -361,5 +361,5 @@
         QBLevel nextNode()
         {
-            if (this.isLeaf())
+            if (!this.hasChildren())
                 return this.nextSibling();
             return this.firstChild();
@@ -417,6 +417,4 @@
                 search_contents(search_bbox, result);
             }
-            if (this.isLeaf())
-                return;
 
             if (debug) {
@@ -449,7 +447,4 @@
         int index_of(QBLevel find_this)
         {
-            if (this.isLeaf())
-                return -1;
-
             QBLevel[] children = getChildren();
             for (int i = 0; i < QuadTiling.TILES_PER_LEVEL; i++) {
@@ -632,5 +627,5 @@
                 out(this + " is a new iterator qb: " + qb + " size: " + qb.size());
             }
-            if (qb.root.isLeaf() || qb.root.hasContent()) {
+            if (!qb.root.hasChildren() || qb.root.hasContent()) {
                 current_node = qb.root;
             } else {
