mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
Fix using source start instead of source end
Co-authored-by: Rawi01 <Rawi01@users.noreply.github.com>
This commit is contained in:
1 parent
04a10be919
commit
a8a811b245
1 file changed
+1
-1
@@ -304,7 +304,7 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler<EqualsAndH
|
||||
setGeneratedBy(hashCodeCacheRef.receiver, source);
|
||||
EqualExpression cacheNotZero = new EqualExpression(hashCodeCacheRef, makeIntLiteral("0".toCharArray(), source), OperatorIds.NOT_EQUAL);
|
||||
setGeneratedBy(cacheNotZero, source);
|
||||
ReturnStatement returnCache = new ReturnStatement(hashCodeCacheRef, pS, pS);
|
||||
ReturnStatement returnCache = new ReturnStatement(hashCodeCacheRef, pS, pE);
|
||||
setGeneratedBy(returnCache, source);
|
||||
IfStatement ifStatement = new IfStatement(cacheNotZero, returnCache, pS, pE);
|
||||
setGeneratedBy(ifStatement, source);
|
||||
|
||||
Reference in new issue
Block a user