Author: nextgens
Date: 2008-08-15 12:30:36 +0000 (Fri, 15 Aug 2008)
New Revision: 21900

Modified:
   trunk/freenet/src/freenet/l10n/L10n.java
Log:
Switch the l10n from StringBuffer to StringBuilder... it should be faster this 
way

Modified: trunk/freenet/src/freenet/l10n/L10n.java
===================================================================
--- trunk/freenet/src/freenet/l10n/L10n.java    2008-08-15 12:29:27 UTC (rev 
21899)
+++ trunk/freenet/src/freenet/l10n/L10n.java    2008-08-15 12:30:36 UTC (rev 
21900)
@@ -290,7 +290,7 @@
        private static String quoteReplacement(String s) {
                if ((s.indexOf('\\') == -1) && (s.indexOf('$') == -1))
                        return s;
-               StringBuffer sb = new StringBuffer();
+               StringBuilder sb = new StringBuilder();
                for (int i=0; i<s.length(); i++) {
                        char c = s.charAt(i);
                        if (c == '\\') {


Reply via email to