diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2022-01-14 02:26:05 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2022-01-14 02:32:46 +0100 |
commit | 2685d37748bab76669e19a9952a3c5cbd951162a (patch) | |
tree | 3a5ab9e72b39d9cdd0b7c89d4a3a20b6238aeee8 /src/core/lombok/eclipse | |
parent | 267ef9736d0ec603712962a474272218c33564a9 (diff) | |
download | lombok-2685d37748bab76669e19a9952a3c5cbd951162a.tar.gz lombok-2685d37748bab76669e19a9952a3c5cbd951162a.tar.bz2 lombok-2685d37748bab76669e19a9952a3c5cbd951162a.zip |
Fix for defaulting behaviour for lombok annotations.
What's the name of one of those bugs where you look at it and go: Wow. This can never have possibly worked?
And yet it has? An inverse heisenbug: Once observed, it has always existed, but before observing it, no problems.
Anyway, fixed. For what it's worth.
Diffstat (limited to 'src/core/lombok/eclipse')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleToString.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleToString.java b/src/core/lombok/eclipse/handlers/HandleToString.java index 6beaa848..b22d162f 100644 --- a/src/core/lombok/eclipse/handlers/HandleToString.java +++ b/src/core/lombok/eclipse/handlers/HandleToString.java @@ -203,7 +203,7 @@ public class HandleToString extends EclipseAnnotationHandler<ToString> { if (!prefix.isEmpty()) { StringLiteral px = new StringLiteral(prefix.toCharArray(), pS, pE, 0); - setGeneratedBy(px, source); + setGeneratedBy(px, source); current = new BinaryExpression(current, px, PLUS); current.sourceStart = pS; current.sourceEnd = pE; setGeneratedBy(current, source); |