mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 21:44:41 +00:00
* Move almost all uses of StringBuffer to StringBuilder,
for efficiency (thanks Arsene for the suggestion)
This commit is contained in:
1 parent
055cd99dde
commit
abc23e9a49
198 files changed
+407
-368
No files matched your search
@@ -46,7 +46,7 @@ public class LogsHelper extends HelperBase {
|
||||
|
||||
private String formatMessages(List msgs) {
|
||||
boolean colorize = Boolean.valueOf(_context.getProperty("routerconsole.logs.color")).booleanValue();
|
||||
StringBuffer buf = new StringBuffer(16*1024);
|
||||
StringBuilder buf = new StringBuilder(16*1024);
|
||||
buf.append("<ul>");
|
||||
buf.append("<code>\n");
|
||||
for (int i = msgs.size(); i > 0; i--) {
|
||||
|
||||
Reference in new issue
Block a user