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

JaQu: the decompiler has been improved.

上级 04c07ad4
......@@ -17,13 +17,13 @@ import java.util.ArrayList;
* This class represents a parameterized SQL statement.
*/
//## Java 1.5 begin ##
public class SQLStatementX {
public class SQLStatement {
private Db db;
private StringBuilder buff = new StringBuilder();
private String sql;
private ArrayList<Object> params = new ArrayList<Object>();
SQLStatementX(Db db) {
SQLStatement(Db db) {
this.db = db;
}
......@@ -32,7 +32,7 @@ public class SQLStatementX {
buff = new StringBuilder(sql);
}
public SQLStatementX appendSQL(String s) {
public SQLStatement appendSQL(String s) {
buff.append(s);
sql = null;
return this;
......@@ -45,7 +45,7 @@ public class SQLStatementX {
return sql;
}
SQLStatementX addParameter(Object o) {
SQLStatement addParameter(Object o) {
params.add(o);
return this;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论