提交 c2f48f24 authored 作者: Thomas Mueller's avatar Thomas Mueller

remove old TODOs

上级 4b0e8bc5
...@@ -1163,7 +1163,6 @@ public class JdbcConnection extends TraceObject implements Connection { ...@@ -1163,7 +1163,6 @@ public class JdbcConnection extends TraceObject implements Connection {
level--; level--;
break; break;
} else if (chars[i] == '?') { } else if (chars[i] == '?') {
// TODO nativeSQL: '? = ...' : register out parameter
chars[i++] = ' '; chars[i++] = ' ';
checkRunOver(i, len, sql); checkRunOver(i, len, sql);
while (Character.isSpaceChar(chars[i])) { while (Character.isSpaceChar(chars[i])) {
......
...@@ -1146,7 +1146,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -1146,7 +1146,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
try { try {
debugCodeCall("getAsciiStream", columnIndex); debugCodeCall("getAsciiStream", columnIndex);
String s = get(columnIndex).getString(); String s = get(columnIndex).getString();
// TODO ascii stream: convert the reader to a ascii stream
return s == null ? null : IOUtils.getInputStream(s); return s == null ? null : IOUtils.getInputStream(s);
} catch (Exception e) { } catch (Exception e) {
throw logAndConvert(e); throw logAndConvert(e);
...@@ -1165,7 +1164,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -1165,7 +1164,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
try { try {
debugCodeCall("getAsciiStream", columnName); debugCodeCall("getAsciiStream", columnName);
String s = get(columnName).getString(); String s = get(columnName).getString();
// TODO ascii stream: convert the reader to a ascii stream
return IOUtils.getInputStream(s); return IOUtils.getInputStream(s);
} catch (Exception e) { } catch (Exception e) {
throw logAndConvert(e); throw logAndConvert(e);
......
...@@ -13,8 +13,6 @@ import java.util.Arrays; ...@@ -13,8 +13,6 @@ import java.util.Arrays;
*/ */
public class SHA256 { public class SHA256 {
// TODO maybe implement WHIRLPOOL
/** /**
* The first 32 bits of the fractional parts of the cube roots of the first * The first 32 bits of the fractional parts of the cube roots of the first
* sixty-four prime numbers. * sixty-four prime numbers.
......
...@@ -15,8 +15,6 @@ import org.h2.message.Message; ...@@ -15,8 +15,6 @@ import org.h2.message.Message;
*/ */
public class XTEA implements BlockCipher { public class XTEA implements BlockCipher {
// TODO maybe implement Blowfish
// best attack reported as of 2004 is 26 rounds [wikipedia] // best attack reported as of 2004 is 26 rounds [wikipedia]
private static final int DELTA = 0x9E3779B9; private static final int DELTA = 0x9E3779B9;
private int k0, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10, k11, k12, k13, k14, k15; private int k0, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10, k11, k12, k13, k14, k15;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论