From 2685d37748bab76669e19a9952a3c5cbd951162a Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 14 Jan 2022 02:26:05 +0100 Subject: 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. --- src/core/lombok/eclipse/handlers/HandleToString.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/lombok/eclipse') 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 { 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); -- cgit