ppisl commented on code in PR #4091:
URL: https://github.com/apache/netbeans/pull/4091#discussion_r905154735


##########
groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/GroovyIndex.java:
##########
@@ -593,18 +630,28 @@ private IndexedMethod createMethod(String signature, 
IndexResult map) {
 
         // Extract attributes
         int attributeIndex = signature.indexOf(';', typeIndex + 1);
+        int offsetRangeIndex = signature.indexOf(";[", attributeIndex == -1 ? 
typeIndex + 1 : attributeIndex + 1);

Review Comment:
   I rewrote the index and indexer to always store the same amount of entries. 
So the code is much simpler now. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to