From 4a411e899088ec3e85c9f14011a4a7a01c867de7 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Mon, 7 Jan 2019 12:20:13 -0500 Subject: [PATCH] refactor: Removing unused code --- ICD.Common.Utils/Xml/XmlUtils.cs | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/ICD.Common.Utils/Xml/XmlUtils.cs b/ICD.Common.Utils/Xml/XmlUtils.cs index 1119b0c..1b698f8 100644 --- a/ICD.Common.Utils/Xml/XmlUtils.cs +++ b/ICD.Common.Utils/Xml/XmlUtils.cs @@ -1100,17 +1100,6 @@ namespace ICD.Common.Utils.Xml #region Print - /// - /// Prints the xml document. - /// - /// - [PublicAPI] - public static void Print(string xml) - { - string result = Format(xml); - IcdConsole.PrintLine(result); - } - /// /// Formats the given xml string into a human readable structure with indentations. /// @@ -1128,12 +1117,10 @@ namespace ICD.Common.Utils.Xml IcdXmlDocument document = new IcdXmlDocument(); document.LoadXml(xml); document.WriteContentTo(writer); - - writer.Flush(); - - return builder.ToString(); } } + + return builder.ToString(); } #endregion