You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- change SourceProvider.getExpressionRanges() to add in comments
of return statement when NLS comments are present
- change CallInliner.replaceCall() to try and split the last block
at a semi-colon in case it was created by a return statement
that had NLS comments
- if the split results in 2 segments, try and form a new statement
that adds the new expression and NLS comments
- add new test to InlineMethodTests
- does not handle modifying existing NLS markers at target
- fixeseclipse-jdt#1856
…te (#1928)
- change SourceProvider.getExpressionRanges() to add in comments
of return statement when NLS comments are present
- change CallInliner.replaceCall() to try and split the last block
at a semi-colon in case it was created by a return statement
that had NLS comments
- if the split results in 2 segments, try and form a new statement
that adds the new expression and NLS comments
- add new test to InlineMethodTests
- does not handle modifying existing NLS markers at target
- fixes#1856
I have a method like this:
and the sole call site looks like this:
char[] signature = typeSwitchSignature(selectorType);
If I perform the inline method refactoring, I end up with:
char[] signature = CharOperation.concat("(".toCharArray(), selectorType.erasure().signature(), "I)I".toCharArray());
and two warnings: `Non-externalized string literal; it should be followed by //$NON-NLS
The text was updated successfully, but these errors were encountered: