[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:
Reinier Zwitserloot committed 2020-01-28 16:21:39 +01:00
1 parent 91a40b8312
commit fa70b194aa
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};