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 wrap: on
line diff
--- a/Xml/XmlResourceResolver.cs	Sat Sep 01 11:51:43 2012 +0100
+++ b/Xml/XmlResourceResolver.cs	Tue Nov 06 20:51:49 2012 +0000
@@ -18,7 +18,7 @@
 			assm = assembly;
 		}
 
-		public void AddMapping(string relativeUri, string absoluteUri, string resourceName)
+		public void AddMapping(string relativeUri, string absoluteUri, string resourceName)
 		{
 			relativeToAbsoluteMap.Add(relativeUri, absoluteUri);
 			AddMapping(absoluteUri, resourceName);
@@ -36,12 +36,12 @@
 			if (relativeToAbsoluteMap.ContainsKey(relativeUri))
 			{
 				resolved = new Uri(relativeToAbsoluteMap[relativeUri], UriKind.Absolute);
-			}
-			else if (absoluteToResourceMap.ContainsKey(relativeUri))
+			}
+			else if (absoluteToResourceMap.ContainsKey(relativeUri))
 			{
 				resolved = new Uri(relativeUri, UriKind.Absolute);
-			}
-			else
+			}
+			else
 			{
 				resolved = base.ResolveUri(baseUri, relativeUri);
 			}
@@ -52,7 +52,6 @@
 		public override object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
 		{
 			string absoluteUriString = absoluteUri == null ? null : absoluteUri.ToString();
-			Console.WriteLine("Getting entity " + absoluteUriString);
 
 			if (absoluteToResourceMap.ContainsKey(absoluteUriString))
 			{