mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
Cosmetics.
This commit is contained in:
parent
7eb5d01ded
commit
1610de526e
3 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ public class ChangeTreeSet {
|
||||||
private static final class ChangePositionComparator implements Comparator<CTextFileChange> {
|
private static final class ChangePositionComparator implements Comparator<CTextFileChange> {
|
||||||
@Override
|
@Override
|
||||||
public int compare(CTextFileChange o1, CTextFileChange o2) {
|
public int compare(CTextFileChange o1, CTextFileChange o2) {
|
||||||
if(o1.getFile().equals(o2.getFile())){
|
if (o1.getFile().equals(o2.getFile())) {
|
||||||
return o2.getEdit().getOffset() - o1.getEdit().getOffset();
|
return o2.getEdit().getOffset() - o1.getEdit().getOffset();
|
||||||
}
|
}
|
||||||
return o2.getFile().hashCode() - o1.getFile().hashCode();
|
return o2.getFile().hashCode() - o1.getFile().hashCode();
|
||||||
|
|
|
@ -226,7 +226,7 @@ public class GenerateGettersAndSettersRefactoring extends CRefactoring2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void collectModifications(IProgressMonitor pm,ModificationCollector collector)
|
protected void collectModifications(IProgressMonitor pm, ModificationCollector collector)
|
||||||
throws CoreException, OperationCanceledException {
|
throws CoreException, OperationCanceledException {
|
||||||
List<IASTNode> getterAndSetters = new ArrayList<IASTNode>();
|
List<IASTNode> getterAndSetters = new ArrayList<IASTNode>();
|
||||||
List<IASTFunctionDefinition> definitions = new ArrayList<IASTFunctionDefinition>();
|
List<IASTFunctionDefinition> definitions = new ArrayList<IASTFunctionDefinition>();
|
||||||
|
|
Loading…
Add table
Reference in a new issue