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