refactoring - splitting class a bit further
This commit is contained in:
parent
26a70b8107
commit
462d0742d5
Binary file not shown.
|
@ -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);
|
||||
|
||||
|
|
|
@ -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();
|
Loading…
Reference in New Issue