more robustness, now a detailed report is always sent, also if crawling
[utils] / crawler / kiss / src / org / wamblee / crawler / kiss / guide / AbstractVisitor.java
index f4b07bfff4a8d88eabe4bfcaf56176a97e8a5186..a6c0d69ae9fc8f8d318187eabef6bb7d69c5c870 100644 (file)
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.wamblee.crawler.kiss.guide;
 
-
-
 /**
- * Abstract visitor of the tv guide with default looping behavior. 
+ * Abstract visitor of the tv guide with default looping behavior.
  */
 public abstract class AbstractVisitor implements Visitor {
-    
+
     /**
-     * Constructs the visitor. 
-     *
+     * Constructs the visitor.
+     * 
      */
-    protected AbstractVisitor() { 
+    protected AbstractVisitor() {
         // Empty
     }
 
     /**
-     * Visits the channel by visiting all programs of the channel. 
-     * @param aChannel Channel to visit. 
+     * Visits the channel by visiting all programs of the channel.
+     * 
+     * @param aChannel
+     *            Channel to visit.
      */
     public void visitChannel(Channel aChannel) {
-        for (Program program: aChannel.getPrograms() ) { 
-           program.accept(this);
+        for (Program program : aChannel.getPrograms()) {
+            program.accept(this);
         }
     }
 
     /**
-     * Visits the TV guide by visiting all channels of the guide. 
-     * @param aGuide TV guide to visit. 
+     * Visits the TV guide by visiting all channels of the guide.
+     * 
+     * @param aGuide
+     *            TV guide to visit.
      */
-    public void visitTvGuide(TVGuide aGuide) { 
-        for (Channel channel: aGuide.getChannels()) { 
+    public void visitTvGuide(TVGuide aGuide) {
+        for (Channel channel : aGuide.getChannels()) {
             channel.accept(this);
         }
     }