提交 7cf52f0b authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting.

上级 b2a94dc7
......@@ -73,7 +73,7 @@ public class IntIntHashMap extends HashBase {
return;
}
index = (index + plus++) & mask;
} while(plus <= len);
} while (plus <= len);
// no space
DbException.throwInternalError("hashmap is full");
}
......@@ -105,7 +105,7 @@ public class IntIntHashMap extends HashBase {
return;
}
index = (index + plus++) & mask;
} while(plus <= len);
} while (plus <= len);
// not found
}
......@@ -145,7 +145,7 @@ public class IntIntHashMap extends HashBase {
return values[index];
}
index = (index + plus++) & mask;
} while(plus <= len);
} while (plus <= len);
return NOT_FOUND;
}
......
......@@ -193,7 +193,7 @@ public class StringUtils {
if (ch >= ' ' && (ch < 0x80)) {
buff.append(c);
// not supported in properties files
// } else if(ch < 0xff) {
// } else if (ch < 0xff) {
// buff.append("\\");
// // make sure it's three characters (0x200 is octal 1000)
// buff.append(Integer.toOctalString(0x200 | ch).substring(1));
......
......@@ -120,7 +120,7 @@ public class ValueHashMap<V> extends HashBase {
return;
}
index = (index + plus++) & mask;
} while(plus <= len);
} while (plus <= len);
// not found
}
......
......@@ -122,7 +122,7 @@ public class ValueLong extends Value {
}
// just checking one case is not enough: Long.MIN_VALUE * -1
// probably this is correct but I'm not sure
// if(result / value == other.value && result / other.value == value) {
// if (result / value == other.value && result / other.value == value) {
// return ValueLong.get(result);
//}
BigInteger bv = BigInteger.valueOf(value);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论