reducing confusion just a bit
This commit is contained in:
parent
318d7ed933
commit
8db0c36367
Binary file not shown.
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue