mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-12 19:25:00 +00:00
refactor: Removing unused code
This commit is contained in:
@@ -1100,17 +1100,6 @@ namespace ICD.Common.Utils.Xml
|
||||
|
||||
#region Print
|
||||
|
||||
/// <summary>
|
||||
/// Prints the xml document.
|
||||
/// </summary>
|
||||
/// <param name="xml"></param>
|
||||
[PublicAPI]
|
||||
public static void Print(string xml)
|
||||
{
|
||||
string result = Format(xml);
|
||||
IcdConsole.PrintLine(result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Formats the given xml string into a human readable structure with indentations.
|
||||
/// </summary>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user