mbien opened a new pull request, #8991:
URL: https://github.com/apache/netbeans/pull/8991
Use the fallback codepath if the end position is negative.
unfortunately all tests for the find usage functionality are disabled atm
which makes changes in this area a bit risky.
```java
public enum Letters {
A {
@Override
public String toString() {
return "C";
}
}, B;
Letters() {}
// ^^ run find usages or call hierarchy
}
```
to trigger the exception in NB 28, at least one enum field must have a class
body `{}`.
fixes #8985
--
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