format code

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@527 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-08-01 19:45:46 +00:00
parent a803236cfa
commit c270d3f308
161 changed files with 3709 additions and 2349 deletions
@@ -25,11 +25,11 @@ public class TestOnlineSQLTest3 extends TestCase {
conn = null;
}
}
public void test_0 () throws Exception {
public void test_0() throws Exception {
String sql = "SELECT * FROM m_sql_const";
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(sql);
while (rs.next()) {
long id = rs.getLong(1);
@@ -37,15 +37,13 @@ public class TestOnlineSQLTest3 extends TestCase {
handle(id, value);
}
rs.close();
stmt.close();
}
void handle(long id, String value) {
String sql = value.toString();
System.out.println(sql);
}
}