mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 21:35:40 +02:00
Cosmetics.
This commit is contained in:
parent
2afd46deb6
commit
11f1f3bb47
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ public class TextSearchWrapper {
|
||||||
}
|
}
|
||||||
|
|
||||||
private TextSearchScope defineSearchScope(IResource resource, String[] patterns) {
|
private TextSearchScope defineSearchScope(IResource resource, String[] patterns) {
|
||||||
SearchScope result= SearchScope.newSearchScope(new IResource[]{resource}, false);
|
SearchScope result= SearchScope.newSearchScope(new IResource[] { resource }, false);
|
||||||
applyFilePatterns(result, patterns);
|
applyFilePatterns(result, patterns);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -283,7 +283,7 @@ public class TextSearchWrapper {
|
||||||
|
|
||||||
final static Comparator<int[]> COMPARE_FIRST_INTEGER= new Comparator<int[]>() {
|
final static Comparator<int[]> COMPARE_FIRST_INTEGER= new Comparator<int[]>() {
|
||||||
public int compare(int[] o1, int[] o2) {
|
public int compare(int[] o1, int[] o2) {
|
||||||
return (o1)[0]-(o2)[0];
|
return (o1)[0] - (o2)[0];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue