Skip to content

Commit

Permalink
Resolves #87 ResolveContext SOF (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrich authored Jul 24, 2020
1 parent 5de5cbd commit 8917fc0
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ private[impl] final class ResolveContext(
// cause a cycle "by side effect"
// CAN BE NULL for a full resolve.
val restrictToChild: Path,
_resolveStack: ju.List[AbstractConfigValue],
_cycleMarkers: ju.Set[AbstractConfigValue]
// This is used for tracing and debugging and nice error messages;
// contains every node as we call resolve on it.
val resolveStack: ju.List[AbstractConfigValue],
val cycleMarkers: ju.Set[AbstractConfigValue]
) {
// This is used for tracing and debugging and nice error messages;
// contains every node as we call resolve on it.
val resolveStack = ju.Collections.unmodifiableList(_resolveStack)
val cycleMarkers = ju.Collections.unmodifiableSet(_cycleMarkers)

def this(options: ConfigResolveOptions, restrictToChild: Path) = {
// LinkedHashSet keeps the traversal order which is at least useful
Expand Down

0 comments on commit 8917fc0

Please sign in to comment.