Avoid looking up parent if bubbling stopped

This commit is contained in:
Christoph Dreis committed 2023-02-22 13:56:13 +01:00
1 parent e5c324c615
commit 094077da6e
1 file changed
+1 -1
@@ -82,7 +82,7 @@ public class BubblingConfigurationResolver implements ConfigurationResolver {
return (T) result.getValue();
}
}
currentLevel = currentLevel.parent();
currentLevel = stopBubbling ? null : currentLevel.parent();
}
if (!isList) return null;