提交 041cc183 authored 作者: noelgrandin's avatar noelgrandin

the query method and the settingSave method can both be marked as private.

上级 ef52129e
......@@ -993,7 +993,7 @@ public class WebApp {
* @param size the number of statements
* @param buff the target buffer
*/
protected void query(Connection conn, String s, int i, int size, StringBuilder buff) {
private void query(Connection conn, String s, int i, int size, StringBuilder buff) {
if (!(s.startsWith("@") && s.endsWith("."))) {
buff.append(PageParser.escapeHtml(s + ";")).append("<br />");
}
......@@ -1667,7 +1667,7 @@ public class WebApp {
*
* @return the file to open afterwards
*/
String settingSave() {
private String settingSave() {
ConnectionInfo info = new ConnectionInfo();
info.name = attributes.getProperty("name", "");
info.driver = attributes.getProperty("driver", "");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论