]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php
Refactured nodeInstance to be no longer stored in helpers
[hub.git] / application / hub / main / producer / cruncher / keys / class_CruncherKeyProducer.php
index 9e4f517870cb0fb135e727ada73685a37fd7fffb..86be8a9252c1d4e02d463c3ef44a21475ef8d9de 100644 (file)
@@ -75,11 +75,11 @@ class CruncherKeyProducer extends BaseKeyProducer implements KeyProducer, Regist
                // Is this cruncher virgin?
                if (!$stateInstance->isCruncherStateVirgin()) {
                        // This cruncher is not virgin, so skip it
-                       $this->debugOutput('ITERATOR: The cruncher is not virgin. stateInstance=' . $stateInstance->__toString() . '.');
+                       $this->debugOutput('PRODUCER: The cruncher is not virgin. stateInstance=' . $stateInstance->__toString() . '');
                        return;
                } elseif (!$this->getIteratorInstance()->valid()) {
-                       // This iterator has finished his assignment
-                       $this->debugOutput('ITERATOR: Finished creating keys. iteratorinstance=' . $this->getIteratorInstance()->__toString() . '');
+                       // This producer's iterator has finished its assignment
+                       $this->debugOutput('PRODUCER: Finished creating keys. iteratorinstance=' . $this->getIteratorInstance()->__toString() . '');
                        return;
                }
 
@@ -93,8 +93,8 @@ class CruncherKeyProducer extends BaseKeyProducer implements KeyProducer, Regist
                 */
 
                /*
-                * Get current key (which is not the key of the iterator)
-                * This is always an ASCII string.
+                * Get current key (which is not the key of the iterator) This is always
+                * an ASCII string.
                 */
                $currentKey = $this->getIteratorInstance()->current();