Mercurial > repos > snowblizz-super-API-ideas
changeset 268:d8e4eeb761c7
* Delete rogue Console.WriteLine statements from testing
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 12 Jun 2010 20:09:56 +0000 |
parents | 3f14a792fd41 |
children | 51d7b2b26882 |
files | api/Factories/Xml/WarFoundryXmlLimitParser.cs |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/api/Factories/Xml/WarFoundryXmlLimitParser.cs Sat Jun 12 19:49:32 2010 +0000 +++ b/api/Factories/Xml/WarFoundryXmlLimitParser.cs Sat Jun 12 20:09:56 2010 +0000 @@ -63,17 +63,15 @@ private ICollection<ILimit> GetSubLimits(XmlElement limitElem) { - System.Console.WriteLine("Getting sub limits"); XmlNodeList subLimitNodes = GetSubLimitElements(limitElem); ICollection<ILimit> limits = new List<ILimit>(); foreach (XmlNode node in subLimitNodes) { - System.Console.WriteLine("Getting limit for "+node.LocalName); if (node is XmlElement) { ILimit limit = GetLimitFromElement((XmlElement)node); - System.Console.WriteLine("Limit was "+(limit == null ? "null" : limit.GetType().Name)); + if (limit != null) { limits.Add(limit);