refactoring - splitting class a bit further

This commit is contained in:
rusefillc 2022-01-04 00:28:41 -05:00
parent 26a70b8107
commit 462d0742d5
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -136,7 +136,7 @@ public class ConfigDefinition {
String keyName = args[i + 1];
// yes, we take three parameters here thus pre-increment!
String fileName = args[++i + 1];
state.variableRegistry.register(keyName, IoUtil.readFile(fileName));
state.variableRegistry.register(keyName, IoUtil2.readFile(fileName));
inputFiles.add(fileName);
case KEY_FIRING:
firingEnumFileName = args[i + 1];
@ -198,7 +198,7 @@ public class ConfigDefinition {
ParseState parseState = new ParseState(state.enumsReader);
// Add the variable for the config signature
long crc32 = IoUtil.signatureHash(state, parseState, tsInputFileFolder, inputFiles);
long crc32 = IoUtil2.signatureHash(state, parseState, tsInputFileFolder, inputFiles);
ExtraUtil.handleFiringOrder(firingEnumFileName, state.variableRegistry, parseState);

View File

@ -12,7 +12,7 @@ import java.nio.file.Files;
import java.util.List;
import java.util.zip.CRC32;
public class IoUtil {
public class IoUtil2 {
static String readFile(String fileName) {
String line;
StringBuilder stringBuilder = new StringBuilder();