mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-26 10:25:32 +02:00
Cosmetics.
This commit is contained in:
parent
0a90b65e97
commit
d8a5f2dfb4
1 changed files with 3 additions and 5 deletions
|
@ -365,7 +365,6 @@ public class ExtractLocalVariableRefactoring extends CRefactoring {
|
|||
|
||||
@Override
|
||||
public int visit(IASTExpression expression) {
|
||||
|
||||
// If the expression starts with a function call with a name, we should only need to guess this name
|
||||
if (expression == target && expression instanceof ICPPASTFunctionCallExpression) {
|
||||
ICPPASTFunctionCallExpression functionCallExpression = (ICPPASTFunctionCallExpression) expression;
|
||||
|
@ -460,7 +459,6 @@ public class ExtractLocalVariableRefactoring extends CRefactoring {
|
|||
}
|
||||
|
||||
if (start > 0) {
|
||||
|
||||
String nameWithoutPrefix = name.substring(start);
|
||||
if (Character.isUpperCase(nameWithoutPrefix.charAt(0))) {
|
||||
nameWithoutPrefix = nameWithoutPrefix.substring(0, 1).toLowerCase()
|
||||
|
|
Loading…
Add table
Reference in a new issue