From bfa092b7d9ae8ff1a7e189947107fc57b2925b7f Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 14 Sep 2006 23:33:16 +0000 Subject: [PATCH] StringBuilder instead of StringBuffer. --- src/java/com/samskivert/jdbc/depot/DepotMarshaller.java | 2 +- src/java/com/samskivert/jdbc/depot/DepotRepository.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java index 2271501..5671b2b 100644 --- a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java +++ b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java @@ -72,7 +72,7 @@ public class DepotMarshaller _fields = flist.toArray(new FieldMarshaller[flist.size()]); // generate our full list of columns for use in queries - StringBuffer columns = new StringBuffer(); + StringBuilder columns = new StringBuilder(); for (FieldMarshaller fm : _fields) { if (columns.length() > 0) { columns.append(","); diff --git a/src/java/com/samskivert/jdbc/depot/DepotRepository.java b/src/java/com/samskivert/jdbc/depot/DepotRepository.java index 3fafd03..f96a48b 100644 --- a/src/java/com/samskivert/jdbc/depot/DepotRepository.java +++ b/src/java/com/samskivert/jdbc/depot/DepotRepository.java @@ -192,7 +192,7 @@ public class DepotRepository public String toWhereClause () { - StringBuffer where = new StringBuffer(); + StringBuilder where = new StringBuilder(); for (int ii = 0; ii < indices.length; ii++) { if (ii > 0) { where.append(" and ");