Rename since this is a permanent method now

This commit is contained in:
Matt Nadareski
2016-04-27 20:57:05 -07:00
parent 4458fd2ce0
commit 820097a2ec
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ namespace SabreTools
foreach (string input in _inputs) foreach (string input in _inputs)
{ {
_logger.Log("Adding DAT: " + input); _logger.Log("Adding DAT: " + input);
RomManipulation.Parse2(input, 0, 0, _dedup, dbc, _logger); RomManipulation.ParseDb(input, 0, 0, _dedup, dbc, _logger);
} }
// Output all DATs specified by user inputs // Output all DATs specified by user inputs

View File

@@ -356,7 +356,7 @@ namespace SabreTools.Helper
/// <param name="logger">Logger object for console and/or file output</param> /// <param name="logger">Logger object for console and/or file output</param>
/// <returns>True if no errors occur, false otherwise</returns> /// <returns>True if no errors occur, false otherwise</returns>
/// <remarks>This doesn't have the same output as Parse + Merge OR even just Parse. Duplicates don't seem to be added either way, why?</remarks> /// <remarks>This doesn't have the same output as Parse + Merge OR even just Parse. Duplicates don't seem to be added either way, why?</remarks>
public static bool Parse2(string filename, int sysid, int srcid, bool merge, SqliteConnection dbc, Logger logger) public static bool ParseDb(string filename, int sysid, int srcid, bool merge, SqliteConnection dbc, Logger logger)
{ {
XmlTextReader xtr = GetXmlTextReader(filename, logger); XmlTextReader xtr = GetXmlTextReader(filename, logger);
xtr.WhitespaceHandling = WhitespaceHandling.None; xtr.WhitespaceHandling = WhitespaceHandling.None;