diff options
author | Robert Antoni Buj i Gelonch <robert.buj@gmail.com> | 2014-09-29 10:19:28 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-09-29 08:24:16 +0000 |
commit | 89ea05d8547b12de1041e9b637690731daa42a62 (patch) | |
tree | 3f6c823a33ce676258e28ef9269097b30511a21c | |
parent | 16417688ef874e55f27daafe5ddb2293a39a9423 (diff) |
connectivity: Use chain of .append methods
Change-Id: I15604e97dc38f1fcfa62c3d86208e72a86dda23e
Reviewed-on: https://gerrit.libreoffice.org/11688
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | connectivity/qa/connectivity/tools/HsqlDatabase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/qa/connectivity/tools/HsqlDatabase.java b/connectivity/qa/connectivity/tools/HsqlDatabase.java index 3e1395be9cdd..b5a7e21f0fbc 100644 --- a/connectivity/qa/connectivity/tools/HsqlDatabase.java +++ b/connectivity/qa/connectivity/tools/HsqlDatabase.java @@ -116,8 +116,8 @@ public class HsqlDatabase extends AbstractDatabase createStatement.append(", "); } - createStatement.append("\"" + columns[i].getName()); - createStatement.append("\" " + columns[i].getTypeName()); + createStatement.append("\"").append(columns[i].getName()); + createStatement.append("\" ").append(columns[i].getTypeName()); if (columns[i].isRequired()) { @@ -150,7 +150,7 @@ public class HsqlDatabase extends AbstractDatabase { foreignKeyRefsForTable.append(", "); } - foreignKeyRefsForTable.append("\"" + columns[i].getForeignColumn() + "\""); + foreignKeyRefsForTable.append("\"").append(columns[i].getForeignColumn()).append("\""); foreignKeyRefs.put(foreignTable, foreignKeyRefsForTable.toString()); } } |