changeset 120:780169621672

* Remove rogue print statement
author IBBoard <dev@ibboard.co.uk>
date Tue, 06 Nov 2012 20:51:49 +0000
parents 645e71b9a809
children 9131bc46903e
files Xml/XmlResourceResolver.cs
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line diff
     1.1 --- a/Xml/XmlResourceResolver.cs	Sat Sep 01 11:51:43 2012 +0100
     1.2 +++ b/Xml/XmlResourceResolver.cs	Tue Nov 06 20:51:49 2012 +0000
     1.3 @@ -18,7 +18,7 @@
     1.4  			assm = assembly;
     1.5  		}
     1.6  
     1.7 -		public void AddMapping(string relativeUri, string absoluteUri, string resourceName)
     1.8 +		public void AddMapping(string relativeUri, string absoluteUri, string resourceName)
     1.9  		{
    1.10  			relativeToAbsoluteMap.Add(relativeUri, absoluteUri);
    1.11  			AddMapping(absoluteUri, resourceName);
    1.12 @@ -36,12 +36,12 @@
    1.13  			if (relativeToAbsoluteMap.ContainsKey(relativeUri))
    1.14  			{
    1.15  				resolved = new Uri(relativeToAbsoluteMap[relativeUri], UriKind.Absolute);
    1.16 -			}
    1.17 -			else if (absoluteToResourceMap.ContainsKey(relativeUri))
    1.18 +			}
    1.19 +			else if (absoluteToResourceMap.ContainsKey(relativeUri))
    1.20  			{
    1.21  				resolved = new Uri(relativeUri, UriKind.Absolute);
    1.22 -			}
    1.23 -			else
    1.24 +			}
    1.25 +			else
    1.26  			{
    1.27  				resolved = base.ResolveUri(baseUri, relativeUri);
    1.28  			}
    1.29 @@ -52,7 +52,6 @@
    1.30  		public override object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
    1.31  		{
    1.32  			string absoluteUriString = absoluteUri == null ? null : absoluteUri.ToString();
    1.33 -			Console.WriteLine("Getting entity " + absoluteUriString);
    1.34  
    1.35  			if (absoluteToResourceMap.ContainsKey(absoluteUriString))
    1.36  			{