Skip to content
Snippets Groups Projects
Commit 4255f793 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

renamed field

parent 49f1103d
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ final class ConfigurationContext { ...@@ -36,7 +36,7 @@ final class ConfigurationContext {
private static final Logger LOGGER = LoggerFactory.getLogger(ConfigurationContext.class); private static final Logger LOGGER = LoggerFactory.getLogger(ConfigurationContext.class);
private final Set<ConfigurationContext> childs = new HashSet<ConfigurationContext>(); // parent-child-tree private final Set<ConfigurationContext> children = new HashSet<ConfigurationContext>(); // parent-child-tree
private ThreadService threadService; private ThreadService threadService;
...@@ -77,7 +77,7 @@ final class ConfigurationContext { ...@@ -77,7 +77,7 @@ final class ConfigurationContext {
final void addChildContext(final Stage stage) { final void addChildContext(final Stage stage) {
if (!stage.owningContext.equals(EMPTY_CONTEXT)) { if (!stage.owningContext.equals(EMPTY_CONTEXT)) {
if (stage.owningContext != this) { // Performance if (stage.owningContext != this) { // Performance
childs.add(stage.owningContext); children.add(stage.owningContext);
} }
} else { } else {
stage.owningContext = this; stage.owningContext = this;
...@@ -86,7 +86,7 @@ final class ConfigurationContext { ...@@ -86,7 +86,7 @@ final class ConfigurationContext {
} }
final void finalizeContext() { final void finalizeContext() {
for (ConfigurationContext child : childs) { for (ConfigurationContext child : children) {
child.finalizeContext(); child.finalizeContext();
mergeContexts(child); mergeContexts(child);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment