mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
22.32.2012 9477e8fc50da6ff5a19f1b2af8dff89a9dec2156
Code cleanup : use StringBuilder instead of StringBuffer.
1 files modified
4 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java 4 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -23,7 +23,7 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 *      Portions Copyright 2011-2012 ForgeRock AS
 */
package org.opends.quicksetup.util;
@@ -1978,7 +1978,7 @@
   */
  public static String addWordBreaks(String htmlString, int from, int spacing)
  {
    StringBuffer sb = new StringBuffer();
    StringBuilder sb = new StringBuilder();
    boolean insideTag = false;
    int totalAddedChars = 0;
    int addedChars = 0;