mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Cosmetics.
This commit is contained in:
parent
54300eafa3
commit
fc2f938a9f
1 changed files with 28 additions and 22 deletions
|
@ -26,8 +26,9 @@ public class CharArrayObjectMap extends CharTable {
|
|||
@Override
|
||||
public List<char[]> toList() { return Collections.emptyList(); }
|
||||
@Override
|
||||
public Object put( char[] key, int start, int length, Object value )
|
||||
{ throw new UnsupportedOperationException(); }
|
||||
public Object put(char[] key, int start, int length, Object value) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
};
|
||||
|
||||
private Object[] valueTable;
|
||||
|
@ -114,9 +115,14 @@ public class CharArrayObjectMap extends CharTable {
|
|||
int j = r;
|
||||
|
||||
while (true) {
|
||||
while( c.compare( keyTable[ j ], x ) > 0 ){ j--; }
|
||||
if( i < j )
|
||||
while( c.compare( keyTable[ i ], x ) < 0 ){ i++; }
|
||||
while (c.compare(keyTable[j], x) > 0) {
|
||||
j--;
|
||||
}
|
||||
if (i < j) {
|
||||
while (c.compare(keyTable[i], x) < 0) {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
if (i < j) {
|
||||
temp = keyTable[j];
|
||||
|
|
Loading…
Add table
Reference in a new issue