From adbac5d6648eca26e0ce0329c3779e3b43043f2b Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Sun, 16 May 2010 20:28:33 +0000
Subject: [PATCH] Clarify purpose of counter variables.

---
 includes/FeedsBatch.inc | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/includes/FeedsBatch.inc b/includes/FeedsBatch.inc
index c9414bf1..99697f66 100644
--- a/includes/FeedsBatch.inc
+++ b/includes/FeedsBatch.inc
@@ -2,14 +2,19 @@
 // $Id$
 
 /**
- * A FeedsBatch object holds the state of an import or clear batch. Used in
- * FeedsSource class.
+ * A FeedsBatch object holds the state of an import or clear batch.
+ *
+ * Used in FeedsSource class. Counter variables are public for easier access.
  */
 class FeedsBatch {
-  // Public counters for easier access.
+  // Maximum number of items in this batch. This is not necessarily the current
+  // number of items in this batch
   public $total;
+  // Number of items created.
   public $created;
+  // Number of items updated or replaced.
   public $updated;
+  // Number of items deleted.
   public $deleted;
   public function __construct() {
     $this->total = 0;
-- 
GitLab