mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 12:19:00 +00:00
[trivial] the pos array was one too large here, shouldn't have any effect other than save a smidge of memory.
This commit is contained in:
1 file changed
+1
-1
@@ -2018,7 +2018,7 @@ public class EclipseHandlerUtil {
|
||||
utilityTypeName[i] = method.get(i).toCharArray();
|
||||
}
|
||||
|
||||
invocation.receiver = new QualifiedNameReference(utilityTypeName, new long[method.size()], pS, pE);
|
||||
invocation.receiver = new QualifiedNameReference(utilityTypeName, new long[method.size() - 1], pS, pE);
|
||||
setGeneratedBy(invocation.receiver, source);
|
||||
invocation.selector = method.get(method.size() - 1).toCharArray();
|
||||
invocation.arguments = new Expression[] {varName, message};
|
||||
|
||||
Reference in new issue
Block a user