refactoring
This commit is contained in:
parent
42061c5eb7
commit
1d13e647db
Binary file not shown.
|
@ -212,13 +212,7 @@ public class ConfigDefinition {
|
|||
state.structures.put(structure.getName(), structure);
|
||||
|
||||
cHeaderConsumer.handleEndStruct(structure);
|
||||
|
||||
if (state.stack.isEmpty()) {
|
||||
totalTsSize = structure.writeTunerStudio("", tsHeader, 0);
|
||||
tsHeader.write("; total TS size = " + totalTsSize + EOL);
|
||||
VariableRegistry.INSTANCE.register("TOTAL_CONFIG_SIZE", totalTsSize);
|
||||
|
||||
}
|
||||
tsProjectConsumer.handleEndStruct(structure);
|
||||
|
||||
if (state.stack.isEmpty()) {
|
||||
structure.writeJavaFields(state,"", javaFieldsWriter, 0);
|
||||
|
|
|
@ -86,7 +86,6 @@ public class TSProjectConsumer implements ConfigurationConsumer {
|
|||
ConfigDefinition.totalTsSize = structure.writeTunerStudio("", tsWriter, 0);
|
||||
tsWriter.write("; total TS size = " + ConfigDefinition.totalTsSize + EOL);
|
||||
VariableRegistry.INSTANCE.register("TOTAL_CONFIG_SIZE", ConfigDefinition.totalTsSize);
|
||||
writeTunerStudioFile(tsPath, tsWriter.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue