stringbuilder in logger
This commit is contained in:
parent
1a32ea9ce9
commit
b8415b122b
@ -127,11 +127,11 @@ class LogHistory extends ArrayList<LogLine>{
|
||||
|
||||
@Override
|
||||
public String toString(){
|
||||
String ret = "";
|
||||
StringBuilder ret = new StringBuilder();
|
||||
for(LogLine l : this){
|
||||
ret += l.toString() + "\n";
|
||||
ret.append(l.toString() + "\n");
|
||||
}
|
||||
return ret;
|
||||
return ret.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user