提交 3fea8ff7 authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

JdbcBlob - revert changes to avoid synthetic method creation

上级 b365737a
...@@ -190,11 +190,12 @@ public class JdbcBlob extends TraceObject implements Blob { ...@@ -190,11 +190,12 @@ public class JdbcBlob extends TraceObject implements Blob {
if (value.getPrecision() != 0) { if (value.getPrecision() != 0) {
throw DbException.getInvalidValueException("length", value.getPrecision()); throw DbException.getInvalidValueException("length", value.getPrecision());
} }
final JdbcConnection c = conn; // local variable avoids generating synthetic accessor method
final PipedInputStream in = new PipedInputStream(); final PipedInputStream in = new PipedInputStream();
final Task task = new Task() { final Task task = new Task() {
@Override @Override
public void call() { public void call() {
value = conn.createBlob(in, -1); value = c.createBlob(in, -1);
} }
}; };
PipedOutputStream out = new PipedOutputStream(in) { PipedOutputStream out = new PipedOutputStream(in) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论