[Libreoffice-commits] core.git: connectivity/qa
Robert Antoni Buj i Gelonch
robert.buj at gmail.com
Mon Sep 29 01:24:44 PDT 2014
connectivity/qa/connectivity/tools/HsqlDatabase.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 89ea05d8547b12de1041e9b637690731daa42a62
Author: Robert Antoni Buj i Gelonch <robert.buj at gmail.com>
Date: Mon Sep 29 10:19:28 2014 +0200
connectivity: Use chain of .append methods
Change-Id: I15604e97dc38f1fcfa62c3d86208e72a86dda23e
Reviewed-on: https://gerrit.libreoffice.org/11688
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/connectivity/qa/connectivity/tools/HsqlDatabase.java b/connectivity/qa/connectivity/tools/HsqlDatabase.java
index 3e1395b..b5a7e21 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());
}
}
More information about the Libreoffice-commits
mailing list