Skip to content

Commit

Permalink
SAK-11409
Browse files Browse the repository at this point in the history
http://jira.sakaiproject.org/jira/browse/SAK-11409
 Migrate use of StringBuffer to StringBuilder


git-svn-id: https://source.sakaiproject.org/svn/site/trunk@34929 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
Lance Speelmon committed Sep 10, 2007
1 parent 3dd490e commit d3b56db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ public void loadFromRunData(ParameterParser params)
*/
public String getDelimitedChannelReferenceString()
{
StringBuffer mergedReferences = new StringBuffer("");
StringBuilder mergedReferences = new StringBuilder("");

Iterator it = this.iterator();
boolean firstEntry = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2571,7 +2571,7 @@ protected String adjustSkin(String skin, boolean published)
*/
public String merge(String siteId, Element el, String creatorId)
{
StringBuffer msg = new StringBuffer();
StringBuilder msg = new StringBuilder();

try
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public List getSites(SelectionType type, Object ofType, String criteria, Map pro
// not based on super user status

// if we are joining, start our where with the join clauses
StringBuffer where = new StringBuffer();
StringBuilder where = new StringBuilder();
if ((type == SelectionType.ACCESS) || (type == SelectionType.UPDATE))
{
// join on site id and also select the proper user
Expand Down Expand Up @@ -840,7 +840,7 @@ public Object readSqlResultRecord(ResultSet result)
public int countSites(SelectionType type, Object ofType, String criteria, Map propertyCriteria)
{
// if we are joining, start our where with the join clauses
StringBuffer where = new StringBuffer();
StringBuilder where = new StringBuilder();
if ((type == SelectionType.ACCESS) || (type == SelectionType.UPDATE))
{
// join on site id and also select the proper user
Expand Down

0 comments on commit d3b56db

Please sign in to comment.