Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
22 | 2 | 3 | 0.970 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 1068 | E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java |
2 | 22 | 1094 | E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java |
| |||||
{ String result = "null"; if (_prefs.isUseFileCaching()) { try { bindClobVarInFile(ps, index, rs, type); } catch (Exception e) { // i18n[DBUtil.error.bindclobfailure=bindBlobVar: failed to // bind blob using filesystem - attempting to bind blob using // memory] String msg = s_stringMgr.getString("DBUtil.error.bindclobfailure"); log.error(msg, e); // if we failed to bind the blob in a file, try memory. result = bindClobVarInMemory(ps, index, rs, type); } } else { result = bindClobVarInMemory(ps, index, rs, type); } return result; } |
| |||||
{ String result = "null"; if (_prefs.isUseFileCaching()) { try { bindBlobVarInFile(ps, index, rs, type); } catch (Exception e) { // i18n[DBUtil.error.bindblobfailure=bindBlobVar: failed to // bind blob using filesystem - attempting to bind blob using // memory] String msg = s_stringMgr.getString("DBUtil.error.bindblobfailure"); log.error(msg, e); // if we failed to bind the blob in a file, try memory. result = bindBlobVarInMemory(ps, index, rs, type); } } else { result = bindBlobVarInMemory(ps, index, rs, type); } return result; } |
| |||
{ String result = "null"; if (_prefs.isUseFileCaching()) { try { [[#variable1ced3740]](ps, index, rs, type); } catch (Exception e) { // i18n[DBUtil.error.bindblobfailure=bindBlobVar: failed to // i18n[DBUtil.error.bindclobfailure=bindBlobVar: failed to // bind blob using filesystem - attempting to bind blob using // memory] String msg = s_stringMgr.getString( [[#variable1ced3700]]); log.error(msg, e); // if we failed to bind the blob in a file, try memory. result = [[#variable1ced37a0]](ps, index, rs, type); } } else { result = [[#variable1ced37a0]](ps, index, rs, type); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1ced3740]] | bindClobVarInFile |
1 | 2 | [[#1ced3740]] | bindBlobVarInFile |
2 | 1 | [[#1ced3700]] | "DBUtil.error.bindclobfailure" |
2 | 2 | [[#1ced3700]] | "DBUtil.error.bindblobfailure" |
3 | 1 | [[#1ced37a0]] | bindClobVarInMemory |
3 | 2 | [[#1ced37a0]] | bindBlobVarInMemory |