reducing confusion just a bit

This commit is contained in:
rusefillc 2022-10-27 19:59:41 -04:00
parent 318d7ed933
commit 8db0c36367
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -10,16 +10,16 @@ import java.io.IOException;
*/ */
public class SignatureConsumer implements ConfigurationConsumer { public class SignatureConsumer implements ConfigurationConsumer {
private final String destHeader; private final String destHeader;
VariableRegistry registry; private final VariableRegistry registry;
public SignatureConsumer(String destHeader, VariableRegistry vregistry) { public SignatureConsumer(String destHeader, VariableRegistry registry) {
SystemOut.println("Writing Signature header to " + destHeader); SystemOut.println("Writing Signature header to " + destHeader);
this.destHeader = destHeader; this.destHeader = destHeader;
this.registry = vregistry; this.registry = registry;
} }
@Override @Override
public void handleEndStruct(ReaderState readerState, ConfigStructure structure) throws IOException { public void handleEndStruct(ReaderState readerState, ConfigStructure structure) throws IOException {
ExtraUtil.writeDefinesToFile(registry, destHeader, null); ExtraUtil.writeDefinesToFile(registry, destHeader, "by SignatureConsumer");
} }
} }