/[xmltv_parser]/trunk/libxmltv/Core/XMLTVRuntimeInstance.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVRuntimeInstance.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libxmltv/Core/XMLTVRuntimeInstance.cs	2013/03/16 20:07:53	191
+++ trunk/libxmltv/Core/XMLTVRuntimeInstance.cs	2013/03/16 20:14:46	192
@@ -138,8 +138,7 @@
             }
             if (this.Channels != null)
             {
-                this.Channels.TrimExcess();
-                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Channels from source '{1}'", this.Channels.ToArray().Count(), this.Source.SourceName);
+                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Channels from source '{1}'", this.Channels.Count, this.Source.SourceName);
             }
             else
             {
@@ -148,8 +147,7 @@
             }
             if (this.Programs != null)
             {
-                this.Programs.TrimExcess();
-                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Programs from source '{1}'", this.Programs.ToArray().Count(), this.Source.SourceName);
+                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Programs from source '{1}'", this.Programs.Count, this.Source.SourceName);
             }
             else
             {

 

  ViewVC Help
Powered by ViewVC 1.1.22