Skip to content

Commit aac604d

Browse files
committed
typo fix of local variable name
Signed-off-by: ceki <ceki@qos.ch>
1 parent 8a6df9e commit aac604d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

logback-classic/src/main/java/ch/qos/logback/classic/tyler/TylerConfiguratorBase.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import ch.qos.logback.core.Context;
2424
import ch.qos.logback.core.joran.GenericXMLConfigurator;
2525
import ch.qos.logback.core.model.Model;
26+
import ch.qos.logback.core.model.processor.ModelHandlerBase;
2627
import ch.qos.logback.core.model.util.PropertyModelHandlerHelper;
2728
import ch.qos.logback.core.model.util.VariableSubstitutionsHelper;
2829
import ch.qos.logback.core.spi.ContextAwareBase;
@@ -176,11 +177,12 @@ public Supplier<? extends GenericXMLConfigurator> getConfiguratorSupplier() {
176177
return supplier;
177178
}
178179

180+
// used by TylerIncludeModelHandler in logback-tyler
179181
protected void processModelFromIncludedFile(Model modelFromIncludedFile) {
180182
Supplier<? extends GenericXMLConfigurator > configuratorSupplier = this.getConfiguratorSupplier();
181183
GenericXMLConfigurator genericXMLConfigurator = configuratorSupplier.get();
182-
ConfigurationModel configururationModel = new ConfigurationModel();
183-
configururationModel.addSubModel(modelFromIncludedFile);
184-
genericXMLConfigurator.processModel(configururationModel);
184+
ConfigurationModel configurationModel = new ConfigurationModel();
185+
configurationModel.addSubModel(modelFromIncludedFile);
186+
genericXMLConfigurator.processModel(configurationModel);
185187
}
186188
}

0 commit comments

Comments
 (0)