提交 383a7c09 authored 作者: Thomas Mueller's avatar Thomas Mueller

Fix Eclipse 3.5 warnings

上级 36098d30
......@@ -183,7 +183,7 @@ public class JdbcBlob extends TraceObject implements Blob {
*/
public long position(byte[] pattern, long start) throws SQLException {
debugCode("position(pattern, "+start+");");
if (false) {
if (Constants.BLOB_SEARCH) {
try {
debugCode("position(pattern, " + start + ");");
if (pattern == null) {
......@@ -236,7 +236,7 @@ public class JdbcBlob extends TraceObject implements Blob {
*/
public long position(Blob blobPattern, long start) throws SQLException {
debugCode("position(blobPattern, "+start+");");
if (false) {
if (Constants.BLOB_SEARCH) {
try {
debugCode("position(blobPattern, " + start + ");");
if (blobPattern == null) {
......
......@@ -1638,11 +1638,7 @@ public class JdbcConnection extends TraceObject implements Connection {
break;
}
case Value.JAVA_OBJECT:
if (Constants.SERIALIZE_JAVA_OBJECTS) {
o = ObjectUtils.deserialize(v.getBytesNoCopy());
} else {
o = v.getObject();
}
o = ObjectUtils.deserialize(v.getBytesNoCopy());
break;
default:
o = v.getObject();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论