1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-03-09 18:03:20 +00:00
parent d5d4f19105
commit e58416919f

View file

@ -28,13 +28,13 @@ public class DefaultFragmentBindingComparator implements IIndexFragmentBindingCo
return cmp;
}
private int compareQualifiedNames(String[] afqn, String[] bfqn) {
if(afqn.length < bfqn.length)
private int compareQualifiedNames(String[] a, String[] b) {
if (a.length < b.length)
return -1;
if(afqn.length > bfqn.length)
if (a.length > b.length)
return 1;
for(int i=0; i<afqn.length; i++) {
int cmp= afqn[i].compareTo(bfqn[i]);
for(int i= 0; i < a.length; i++) {
int cmp= a[i].compareTo(b[i]);
if (cmp != 0)
return cmp;
}