OPENJPA-51 Use StringBuffer instead of StringBuffer in jdk 4 modules

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@676926 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2008-07-15 14:33:31 +00:00
parent e7d6c25aaf
commit da15b24687
1 changed files with 3 additions and 3 deletions

View File

@ -677,13 +677,13 @@ public class SelectImpl
tableAlias = getTableAlias(table, pj).toString();
_tableAliases.put(table, tableAlias);
}
return new StringBuilder(tableAlias).append(col).toString();
return new StringBuffer(tableAlias).append(col).toString();
}
return getTableAlias(table, pj).append(col).toString();
}
private StringBuilder getTableAlias(Table table, PathJoins pj) {
StringBuilder buf = new StringBuilder();
private StringBuffer getTableAlias(Table table, PathJoins pj) {
StringBuffer buf = new StringBuffer();
if (_from != null) {
String alias = toAlias(_from.getTableIndex(table, pj, true));
if (_dict.requiresAliasForSubselect)