aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-01-12 01:45:44 +0100
committerGitHub <noreply@github.com>2023-01-12 01:45:44 +0100
commit9ad2846b5dc4c5adfaf8c9884dfdaf4648e681dd (patch)
tree574ee29e39ab104902253806291a0dfd030b9be2 /src/core/lombok/eclipse
parente90d497c93ecc7db1d5a901d40f11fc919f31447 (diff)
parentce685ec1696a95d6a73dc111d0ccafa8ce07a75e (diff)
downloadlombok-9ad2846b5dc4c5adfaf8c9884dfdaf4648e681dd.tar.gz
lombok-9ad2846b5dc4c5adfaf8c9884dfdaf4648e681dd.tar.bz2
lombok-9ad2846b5dc4c5adfaf8c9884dfdaf4648e681dd.zip
Merge pull request #3250 from mernst/typos-typos
Fix typos
Diffstat (limited to 'src/core/lombok/eclipse')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleFieldDefaults.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleFieldDefaults.java b/src/core/lombok/eclipse/handlers/HandleFieldDefaults.java
index 3297ba06..fd36454d 100644
--- a/src/core/lombok/eclipse/handlers/HandleFieldDefaults.java
+++ b/src/core/lombok/eclipse/handlers/HandleFieldDefaults.java
@@ -160,7 +160,7 @@ public class HandleFieldDefaults extends EclipseASTAdapter {
boolean defaultToFinal = makeFinalIsExplicit ? false : Boolean.TRUE.equals(typeNode.getAst().readConfiguration(ConfigurationKeys.FIELD_DEFAULTS_FINAL_EVERYWHERE));
if (!defaultToPrivate && !defaultToFinal && fieldDefaults == null) return;
- // Do not apply field defaults to records if set using the the config system
+ // Do not apply field defaults to records if set using the config system
if (fieldDefaults == null && !isClassOrEnum(typeNode)) return;
AccessLevel fdAccessLevel = (fieldDefaults != null && levelIsExplicit) ? fd.level() : defaultToPrivate ? AccessLevel.PRIVATE : null;
boolean fdToFinal = (fieldDefaults != null && makeFinalIsExplicit) ? fd.makeFinal() : defaultToFinal;