mirror of https://github.com/apache/openjpa.git
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:
parent
e7d6c25aaf
commit
da15b24687
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue