Cleanup comments for line continuations
Change-Id: I1d1abc9724802e3562d57142107bdd6c6c40e446
This commit is contained in:
@@ -228,9 +228,9 @@ public class QueryShell {
|
|||||||
if (outputFormat == OutputFormat.PRETTY) {
|
if (outputFormat == OutputFormat.PRETTY) {
|
||||||
println(" List of relations");
|
println(" List of relations");
|
||||||
}
|
}
|
||||||
showResultSet(rs, false, //
|
showResultSet(rs, false,
|
||||||
Identity.create(rs, "TABLE_SCHEM"), //
|
Identity.create(rs, "TABLE_SCHEM"),
|
||||||
Identity.create(rs, "TABLE_NAME"), //
|
Identity.create(rs, "TABLE_NAME"),
|
||||||
Identity.create(rs, "TABLE_TYPE"));
|
Identity.create(rs, "TABLE_TYPE"));
|
||||||
} finally {
|
} finally {
|
||||||
rs.close();
|
rs.close();
|
||||||
@@ -267,8 +267,8 @@ public class QueryShell {
|
|||||||
if (outputFormat == OutputFormat.PRETTY) {
|
if (outputFormat == OutputFormat.PRETTY) {
|
||||||
println(" Table " + tableName);
|
println(" Table " + tableName);
|
||||||
}
|
}
|
||||||
showResultSet(rs, true, //
|
showResultSet(rs, true,
|
||||||
Identity.create(rs, "COLUMN_NAME"), //
|
Identity.create(rs, "COLUMN_NAME"),
|
||||||
new Function("TYPE") {
|
new Function("TYPE") {
|
||||||
@Override
|
@Override
|
||||||
String apply(final ResultSet rs) throws SQLException {
|
String apply(final ResultSet rs) throws SQLException {
|
||||||
@@ -379,7 +379,7 @@ public class QueryShell {
|
|||||||
|
|
||||||
case PRETTY:
|
case PRETTY:
|
||||||
default:
|
default:
|
||||||
println("(" + rowCount + (rowCount == 1 ? " row" : " rows") //
|
println("(" + rowCount + (rowCount == 1 ? " row" : " rows")
|
||||||
+ "; " + ms + " ms)");
|
+ "; " + ms + " ms)");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user