mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
f92fff3e50
commit
29d3e83da0
2 changed files with 3 additions and 3 deletions
|
@ -181,7 +181,7 @@ public class GenerateGettersAndSettersRefactoring extends CRefactoring2 {
|
|||
|
||||
private IASTName getSelectedName(IASTTranslationUnit ast) {
|
||||
List<IASTName> names = findAllMarkedNames(ast);
|
||||
if (names.size() < 1) {
|
||||
if (names.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return names.get(names.size() - 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue