-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NON-NLS tag ignored for specific method references targeting a string literal #3025
Comments
Please always supply full class that can be pasted (with class headers, method headers, imports etc) - the committers will thank you :) |
I'll take a look. |
Sure, no problem. Assumed you would prefer a minimal snippet, but can of course also make it complete.
Thanks. |
A minimal snippet is minimal not only in terms of amount of code in it - but also minimal in how much work is needed in addition to reproduce the problem or write a junit test. So in that sense a complete but minimal snippet is best. Thanks.
|
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=443456 - Unfortunately that considered only lambda expressions and the bug has stayed dormant in the case of reference expressions for some ten years !!! |
Some issues stay long :O |
In the following code the compiler issues a warning in the second line and does not consider NON-NLS tag.
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
In the third and fourth line no such warnings are emitted.
The text was updated successfully, but these errors were encountered: