Move assert where it belongs

This commit is contained in:
Tom Morris 2015-09-25 20:01:27 -04:00
parent e70a877fb9
commit 48681e8877

View File

@ -215,9 +215,9 @@ abstract public class TreeImportingParserBase extends ImportingParserBase {
int filenameColumnIndex = -1;
if (includeFileSources) {
filenameColumnIndex = addFilenameColumn(project);
// If the column add fails for any reason, we'll end up overwriting data in the first column
assert filenameColumnIndex == 0;
}
// If the column add fails for any reason, we'll end up overwriting data in the first column
assert filenameColumnIndex == 0;
XmlImportUtilities.importTreeData(treeParser, project, recordPath, rootColumnGroup, limit2,
new ImportParameters(trimStrings, storeEmptyStrings, guessCellValueTypes, includeFileSources,