From 094077da6eef53366574d313ec8d0956d885a2cf Mon Sep 17 00:00:00 2001 From: Christoph Dreis Date: Wed, 22 Feb 2023 13:56:13 +0100 Subject: Avoid looking up parent if bubbling stopped --- src/core/lombok/core/configuration/BubblingConfigurationResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/lombok/core/configuration/BubblingConfigurationResolver.java b/src/core/lombok/core/configuration/BubblingConfigurationResolver.java index 45a45fdc..c55bc75e 100644 --- a/src/core/lombok/core/configuration/BubblingConfigurationResolver.java +++ b/src/core/lombok/core/configuration/BubblingConfigurationResolver.java @@ -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; -- cgit