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