1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 10:46:02 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-04-19 04:36:15 +00:00
parent 54300eafa3
commit fc2f938a9f

View file

@ -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];